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