UltraMonkey-L7 V3(multi-thread implementation)
Revision | 1c5cb7f4fd689dcfa4544a3394f6ea258d3ae6e2 (tree) |
---|---|
Zeit | 2015-10-19 20:22:12 |
Autor | Michiro Hibari <l05102@shib...> |
Commiter | Michiro Hibari |
Modify systemd unit files.
@@ -1,13 +1,12 @@ | ||
1 | 1 | [Unit] |
2 | 2 | Description=UltraMonkey-L7 healthcheck daemon |
3 | -After=syslog.target network.target nss-lookup.service | |
3 | +After=syslog.target network.target nss-lookup.service l7vsd.service | |
4 | 4 | |
5 | 5 | [Service] |
6 | 6 | Type=forking |
7 | -EnvironmentFile=/etc/ha.d/conf/l7directord.cf | |
8 | -ExecStart=/usr/sbin/l7directord start | |
9 | -ExecReload=/usr/sbin/l7directord reload | |
10 | -ExecStop=/usr/sbin/l7directord stop | |
7 | +ExecStart=/usr/sbin/l7directord /etc/ha.d/conf/l7directord.cf start | |
8 | +ExecReload=/usr/sbin/l7directord /etc/ha.d/conf/l7directord.cf reload | |
9 | +ExecStop=/usr/sbin/l7directord /etc/ha.d/conf/l7directord.cf stop | |
11 | 10 | PIDFile=/var/run/l7directord.l7directord.pid |
12 | 11 | |
13 | 12 | [Install] |
@@ -1,14 +1,12 @@ | ||
1 | 1 | [Unit] |
2 | 2 | Description=UltraMonkey-L7 loadbalancing daemon |
3 | 3 | After=syslog.target network.target nss-lookup.service |
4 | +Before=l7directord.service | |
4 | 5 | |
5 | 6 | [Service] |
6 | -Type=oneshot | |
7 | -# LimitNOFILE=65536 | |
8 | -EnvironmentFile=/etc/l7vs/l7vs.cf | |
7 | +Type=forking | |
9 | 8 | ExecStart=/usr/sbin/l7vsd |
10 | 9 | ExecStop=/bin/kill $MAINPID |
11 | -RemainAfterExit=yes | |
12 | 10 | |
13 | 11 | [Install] |
14 | 12 | WantedBy=multi-user.target |