Compare commits
2 commits
51848985da
...
13b27dfa28
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | 13b27dfa28 | ||
Julien Oculi | e47f117ece |
|
@ -9,6 +9,7 @@ nala install -y \
|
||||||
curl \
|
curl \
|
||||||
unzip \
|
unzip \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
systemctl \
|
||||||
wget \
|
wget \
|
||||||
|
|
||||||
# Install admin-sys utilities
|
# Install admin-sys utilities
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Setup caddy config
|
# Setup caddy config
|
||||||
mkdir -p /etc/caddy
|
mkdir -p /etc/caddy
|
||||||
cp -R ./caddy/* /etc/caddy
|
cp ./caddy/caddy/* /etc/caddy
|
||||||
|
|
||||||
# Setup caddy service
|
# Setup caddy service
|
||||||
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Setup forgejo config
|
# Setup forgejo config
|
||||||
cp ./forgejo/* /etc/forgejo
|
cp ./forgejo/forgejo/* /etc/forgejo
|
||||||
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
||||||
|
|
||||||
# Setup forgejo service
|
# Setup forgejo service
|
||||||
cp ./systemd/forgejo.service /etc/systemd/system
|
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
||||||
|
|
||||||
# Start forgejo
|
# Start forgejo
|
||||||
systemctl deamon-reload
|
systemctl deamon-reload
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
iptables -F
|
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