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

pull/5780/head^2
techknowlogick 6 years ago committed by GitHub
parent b0fbefc76b
commit dbb4aeead9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      contrib/systemd/gitea.service

@ -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

Loading…
Cancel
Save