fix: patch relative paths in services install/deploy scripts
This commit is contained in:
parent
e47f117ece
commit
13b27dfa28
|
@ -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