Fix systemd service template

This commit is contained in:
Lauri Võsandi 2016-09-18 00:21:24 +03:00
parent f448aefc08
commit 9cf5e298e8
1 changed files with 2 additions and 1 deletions

View File

@ -6,9 +6,10 @@ After=network.target
Environment=PYTHON_EGG_CACHE=/tmp/.cache
Environment=KRB5_KTNAME={{kerberos_keytab}}
PIDFile=/run/certidude/server.pid
ExecStart={{ certidude_path }} serve {% if listen} -l {{listen}}{% endif %}{% if port %} -p {{port}}{% endif %}
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
ExecStart={{ certidude_path }} serve {% if listen %} -l {{listen}}{% endif %}{% if port %} -p {{port}}{% endif %}
[Install]
WantedBy=multi-user.target