From dbb4aeead993a419f109a23c610d5e6d2b45697f Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sat, 19 Jan 2019 23:55:39 -0500 Subject: [PATCH] Change systemd service file to more correctly match Debian & Centos - Fix #4391 (#5777) --- contrib/systemd/gitea.service | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/systemd/gitea.service b/contrib/systemd/gitea.service index 387de14fa61..d88df4a0371 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