From 79ccd6a1e8465e0faa697f5d6316122ef573ca43 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Fri, 21 Oct 2022 02:55:46 -0700 Subject: [PATCH] Update 'systemd/gogs.service' --- systemd/gogs.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/systemd/gogs.service b/systemd/gogs.service index f681925..0f39ca5 100644 --- a/systemd/gogs.service +++ b/systemd/gogs.service @@ -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