{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service
changeset 4 8655f210ddc5
parent 0 10812b2ba33a
--- 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