Change systemd service file to more correctly match Debian & Centos - Fix #4391 (#5777)

This commit is contained in:
techknowlogick 2019-01-19 23:55:39 -05:00 committed by GitHub
parent b0fbefc76b
commit dbb4aeead9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -2,10 +2,11 @@
Description=Gitea (Git with a cup of tea) Description=Gitea (Git with a cup of tea)
After=syslog.target After=syslog.target
After=network.target After=network.target
#After=mysqld.service #Requires=mysql.service
#After=postgresql.service #Requires=mariadb.service
#After=memcached.service #Requires=postgresql.service
#After=redis.service #Requires=memcached.service
#Requires=redis.service
[Service] [Service]
# Modify these two values and uncomment them if you have # Modify these two values and uncomment them if you have