Subversion Repositories ALCASAR

Rev

Rev 2768 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

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