Subversion Repositories ALCASAR

Rev

Blame | Last modification | View Log

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
 
# This unit launches HAVP
[Unit]
Description=HAVP
After=network.target

[Service]
RemainAfterExit=yes
ExecStartPre=/bin/mkdir -p /var/run/havp
ExecStartPre=/bin/chown -R havp:havp /var/run/havp /var/log/havp
ExecStartPre=/bin/mkdir -p /var/run/havp
ExecStartPre=/bin/chown -R havp:havp /var/run/havp /var/log/havp
PIDFile=/var/run/havp/havp.pid
ExecStart=/etc/init.d/havp start 
ExecStop=/etc/init.d/havp stop
ExecReload=/etc/init.d/havp restart

[Install]
WantedBy=multi-user.target