{{cookiecutter.project_slug}}/etc/systemd/zeo-{{cookiecutter.project_slug}}.service
changeset 0 10812b2ba33a
child 4 8655f210ddc5
equal deleted inserted replaced
-1:000000000000 0:10812b2ba33a
       
     1 [Unit]
       
     2 Description = ZEO daemon for {{ cookiecutter.project_name }} service
       
     3 After = network.target
       
     4 After = syslog.target
       
     5 
       
     6 [Service]
       
     7 PermissionsStartOnly = true
       
     8 PIDFile = $((INSTALL))/var/run/{{ cookiecutter.project_slug }}.pid
       
     9 User = {{ cookiecutter.run_user }}
       
    10 Group = {{ cookiecutter.run_group }}
       
    11 WorkingDirectory = $((INSTALL))
       
    12 ExecStart = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} start
       
    13 ExecReload = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} logreopen
       
    14 ExecStop = $((INSTALL))/etc/init.d/zeo-{{ cookiecutter.project_slug }} stop
       
    15 PrivateTmp = true
       
    16 
       
    17 [Install]
       
    18 WantedBy = multiuser.target