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