Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2768 rexy 1
#  This file is part of systemd.
2
#
3
#  systemd is free software; you can redistribute it and/or modify it
4
#  under the terms of the GNU General Public License as published by
5
#  the Free Software Foundation; either version 2 of the License, or
6
#  (at your option) any later version.
7
 
8
# This unit launches HAVP
9
[Unit]
10
Description=HAVP
11
After=network.target
12
 
13
[Service]
14
RemainAfterExit=yes
15
ExecStartPre=/bin/mkdir -p /var/run/havp
16
ExecStartPre=/bin/chown -R havp:havp /var/run/havp /var/log/havp
17
ExecStartPre=/bin/mkdir -p /var/run/havp
18
ExecStartPre=/bin/chown -R havp:havp /var/run/havp /var/log/havp
19
PIDFile=/var/run/havp/havp.pid
20
ExecStart=/etc/init.d/havp start 
21
ExecStop=/etc/init.d/havp stop
22
ExecReload=/etc/init.d/havp restart
23
 
24
[Install]
25
WantedBy=multi-user.target