fix: patch relative paths in services install/deploy scripts

This commit is contained in:
Julien Oculi 2024-05-30 13:39:34 +02:00
parent e47f117ece
commit 13b27dfa28
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -1,2 +1,2 @@
iptables -F
source ./iptables/rules.sh
source ./iptables/iptables/rules.sh

View file

@ -1 +1 @@
cp ./sshd_config /etc/ssh/sshd_config
cp ./sshd/sshd_config /etc/ssh/sshd_config