gogs group
This commit is contained in:
parent
997b723d6c
commit
3d668fea4f
|
@ -453,7 +453,7 @@ function install_gogs {
|
|||
echo '#LimitNOFILE=65535' >> /etc/systemd/system/gogs.service
|
||||
echo 'Type=simple' >> /etc/systemd/system/gogs.service
|
||||
echo 'User=gogs' >> /etc/systemd/system/gogs.service
|
||||
echo 'Group=some_group' >> /etc/systemd/system/gogs.service
|
||||
echo 'Group=gogs' >> /etc/systemd/system/gogs.service
|
||||
echo "WorkingDirectory=/home/$GOGS_USERNAME" >> /etc/systemd/system/gogs.service
|
||||
echo "ExecStart=/home/$GOGS_USERNAME/gogs web" >> /etc/systemd/system/gogs.service
|
||||
echo 'Restart=always' >> /etc/systemd/system/gogs.service
|
||||
|
|
Loading…
Reference in New Issue