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