Compare commits
2 commits
51848985da
...
13b27dfa28
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | 13b27dfa28 | ||
Julien Oculi | e47f117ece |
|
@ -9,6 +9,7 @@ nala install -y \
|
|||
curl \
|
||||
unzip \
|
||||
ffmpeg \
|
||||
systemctl \
|
||||
wget \
|
||||
|
||||
# Install admin-sys utilities
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Setup caddy config
|
||||
mkdir -p /etc/caddy
|
||||
cp -R ./caddy/* /etc/caddy
|
||||
cp ./caddy/caddy/* /etc/caddy
|
||||
|
||||
# Setup caddy service
|
||||
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Setup forgejo config
|
||||
cp ./forgejo/* /etc/forgejo
|
||||
cp ./forgejo/forgejo/* /etc/forgejo
|
||||
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
||||
|
||||
# Setup forgejo service
|
||||
cp ./systemd/forgejo.service /etc/systemd/system
|
||||
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
||||
|
||||
# Start forgejo
|
||||
systemctl deamon-reload
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
iptables -F
|
||||
source ./iptables/rules.sh
|
||||
source ./iptables/iptables/rules.sh
|
||||
|
|
|
@ -1 +1 @@
|
|||
cp ./sshd_config /etc/ssh/sshd_config
|
||||
cp ./sshd/sshd_config /etc/ssh/sshd_config
|
||||
|
|
Loading…
Reference in a new issue