forked from cohabit/server_config
fix: typo in systemctl
cmd in _deploy.sh
This commit is contained in:
parent
13b27dfa28
commit
df466d9b4d
|
@ -6,6 +6,6 @@ cp ./caddy/caddy/* /etc/caddy
|
||||||
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
||||||
|
|
||||||
# Start caddy
|
# Start caddy
|
||||||
systemctl deamon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable caddy
|
systemctl enable caddy
|
||||||
systemctl start caddy
|
systemctl start caddy
|
||||||
|
|
|
@ -6,7 +6,7 @@ chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
||||||
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
||||||
|
|
||||||
# Start forgejo
|
# Start forgejo
|
||||||
systemctl deamon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable forgejo
|
systemctl enable forgejo
|
||||||
systemctl start forgejo
|
systemctl start forgejo
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,6 @@ git pull origin main
|
||||||
cp /srv/www/website.service /etc/systemd/system
|
cp /srv/www/website.service /etc/systemd/system
|
||||||
|
|
||||||
# Start website
|
# Start website
|
||||||
systemctl deamon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable website
|
systemctl enable website
|
||||||
systemctl start website
|
systemctl start website
|
||||||
|
|
Loading…
Reference in a new issue