File ipvsadm.service of Package ipvsadm
14
1
[Unit]
2
Description=Initialise the Linux Virtual Server
3
After=syslog.target network.target
4
5
[Service]
6
Type=oneshot
7
EnvironmentFile=-/etc/sysconfig/ipvsadm
8
ExecStart=/bin/bash -c "exec /sbin/ipvsadm-restore < $IPVSADM_CONFIG"
9
ExecStop=/sbin/ipvsadm -C
10
RemainAfterExit=yes
11
12
[Install]
13
WantedBy=multi-user.target
14