Update 'systemd/gogs.service'

This commit is contained in:
Sophia Atkinson 2022-10-21 02:55:46 -07:00
parent 1ddae326c6
commit 79ccd6a1e8
1 changed files with 4 additions and 4 deletions

View File

@ -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