Subversion Repositories ALCASAR

Rev

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

Rev 1214 Rev 1339
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 lauches alcasar-load-balancing.sh script.
8
# This unit lauches alcasar-load-balancing.sh script.
9
[Unit]
9
[Unit]
10
Description= NfSen init script
10
Description= NfSen init script
11
After=network.target iptables.service
11
After=network.target iptables.service
12
 
12
 
13
[Service]
13
[Service]
14
Type=oneshot
14
Type=oneshot
15
RemainAfterExit=yes
15
RemainAfterExit=yes
16
ExecStart=/bin/bash /usr/local/bin/alcasar-iptables.sh 
-
 
17
ExecStart=/usr/bin/nfsen start 
16
ExecStart=/usr/bin/nfsen start 
18
ExecStop=/usr/bin/nfsen stop
17
ExecStop=/usr/bin/nfsen stop
19
ExecRestart=/usr/bin/nfsen restart
18
ExecRestart=/usr/bin/nfsen restart
20
TimeoutSec=0
19
TimeoutSec=0
21
SysVStartPriority=99
20
SysVStartPriority=99
22
 
21
 
23
[Install]
22
[Install]
24
WantedBy=multi-user.target
23
WantedBy=multi-user.target
25
 
24