0,0 → 1,24 |
# 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 lauches alcasar-load-balancing.sh script. |
[Unit] |
Description= NfSen init script |
After=network.target iptables.service |
|
[Service] |
Type=oneshot |
RemainAfterExit=yes |
ExecStart=/bin/bash /usr/local/bin/alcasar-iptables.sh |
ExecStart=/usr/bin/nfsen start |
ExecStop=/usr/bin/nfsen stop |
ExecRestart=/usr/bin/nfsen restart |
TimeoutSec=0 |
SysVStartPriority=99 |
|
[Install] |
WantedBy=multi-user.target |