aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-04 11:40:37 -0500
committerUnknwon <u@gogs.io>2017-03-04 11:40:37 -0500
commit7e883f891a42fd01bc54ce1821d3520d691f1a63 (patch)
tree68586388c9f72ad7c10a9a2935cf73828d5f8c7c
parente19a69442d7e90cf63906a9db4903a28f1127a3f (diff)
scripts: update gogs.service (#4223)
According to https://goo.gl/ea8k9K, it hurts nothing to use nonexistent services but gains convenient for default settings.
-rw-r--r--scripts/systemd/gogs.service6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/systemd/gogs.service b/scripts/systemd/gogs.service
index cd14cb1c..9f105bf8 100644
--- a/scripts/systemd/gogs.service
+++ b/scripts/systemd/gogs.service
@@ -2,11 +2,7 @@
Description=Gogs
After=syslog.target
After=network.target
-#After=mysqld.service
-#After=mariadb.service
-#After=postgresql.service
-#After=memcached.service
-#After=redis.service
+After=mariadb.service mysqld.service postgresql.service memcached.service redis.service
[Service]
# Modify these two values and uncomment them if you have