Updated SystemD service file 0.1.1
authorThierry Florac <thierry.florac@onf.fr>
Tue, 27 Jun 2017 13:21:28 +0200
changeset 4 8655f210ddc5
parent 3 322300e40619
child 5 d39aaf8edcf8
Updated SystemD service file
{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service
--- a/{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service	Thu Jun 15 15:17:41 2017 +0200
+++ b/{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service	Tue Jun 27 13:21:28 2017 +0200
@@ -4,11 +4,9 @@
 After = syslog.target
 
 [Service]
+Tyupe = forking
 PermissionsStartOnly = true
-PIDFile = $((INSTALL))/var/run/{{ cookiecutter.project_slug }}.pid
-User = {{ cookiecutter.run_user }}
-Group = {{ cookiecutter.run_group }}
-WorkingDirectory = $((INSTALL))
+WorkingDirectory = $((INSTALL))/var
 ExecStart = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} start
 ExecReload = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} logreopen
 ExecStop = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} stop