diff -r 000000000000 -r 10812b2ba33a {{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service Tue Jun 06 15:09:45 2017 +0200 @@ -0,0 +1,18 @@ +[Unit] +Description = ZEO daemon for {{ cookiecutter.project_name }} service +After = network.target +After = syslog.target + +[Service] +PermissionsStartOnly = true +PIDFile = $((INSTALL))/var/run/{{ cookiecutter.project_slug }}.pid +User = {{ cookiecutter.run_user }} +Group = {{ cookiecutter.run_group }} +WorkingDirectory = $((INSTALL)) +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 +PrivateTmp = true + +[Install] +WantedBy = multiuser.target