forked from Sophia/thelinuxlist
Update 'systemd/gogs.service'
This commit is contained in:
parent
1ddae326c6
commit
79ccd6a1e8
|
@ -1,8 +1,8 @@
|
|||
[Unit]
|
||||
Description=Gogs
|
||||
Description=Gogs self-hosted Git service
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
After=mariadb.service mysqld.service postgresql.service memcached.service redis.service
|
||||
After=mysql.service
|
||||
|
||||
[Service]
|
||||
# Modify these two values and uncomment them if you have
|
||||
|
@ -14,8 +14,8 @@ After=mariadb.service mysqld.service postgresql.service memcached.service redis.
|
|||
Type=simple
|
||||
User=git
|
||||
Group=git
|
||||
WorkingDirectory=/home/git/gogs
|
||||
ExecStart=/home/git/gogs/gogs web
|
||||
WorkingDirectory=/home/git
|
||||
ExecStart=/home/git/gogs web
|
||||
Restart=always
|
||||
Environment=USER=git HOME=/home/git
|
||||
|
||||
|
|
Loading…
Reference in New Issue