summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-01-19 23:55:39 -0500
committerGitHub <noreply@github.com>2019-01-19 23:55:39 -0500
commitdbb4aeead993a419f109a23c610d5e6d2b45697f (patch)
tree5b1a7b2c9aeabface3ec22a0dc443d5da1c4fd26 /contrib
parentb0fbefc76bd6fccb58c2b9aa47cab4110c6420f9 (diff)
downloadgitea-dbb4aeead993a419f109a23c610d5e6d2b45697f.tar.gz
gitea-dbb4aeead993a419f109a23c610d5e6d2b45697f.zip
Change systemd service file to more correctly match Debian & Centos - Fix #4391 (#5777)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/systemd/gitea.service9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/systemd/gitea.service b/contrib/systemd/gitea.service
index 387de14fa6..d88df4a037 100644
--- a/contrib/systemd/gitea.service
+++ b/contrib/systemd/gitea.service
@@ -2,10 +2,11 @@
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
-#After=mysqld.service
-#After=postgresql.service
-#After=memcached.service
-#After=redis.service
+#Requires=mysql.service
+#Requires=mariadb.service
+#Requires=postgresql.service
+#Requires=memcached.service
+#Requires=redis.service
[Service]
# Modify these two values and uncomment them if you have