forked from cohabit/server_config
fix(forgejo/deploy): update owner and permissions of config files
This commit is contained in:
parent
78e02a6452
commit
3942706da5
|
@ -1,6 +1,6 @@
|
||||||
# Setup forgejo config
|
# Setup forgejo config
|
||||||
cp -a ./forgejo/forgejo/. /etc/forgejo/
|
cp -a ./forgejo/forgejo/. /etc/forgejo/
|
||||||
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
chown -R forgejo:forgejo /etc/forgejo && chmod -R a-rwx,ug+r /etc/forgejo
|
||||||
|
|
||||||
# Setup forgejo service
|
# Setup forgejo service
|
||||||
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
||||||
|
|
Loading…
Reference in a new issue