• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

Revision1c5cb7f4fd689dcfa4544a3394f6ea258d3ae6e2 (tree)
Zeit2015-10-19 20:22:12
AutorMichiro Hibari <l05102@shib...>
CommiterMichiro Hibari

Log Message

Modify systemd unit files.

Ändern Zusammenfassung

Diff

--- a/l7directord/systemd/l7directord.service
+++ b/l7directord/systemd/l7directord.service
@@ -1,13 +1,12 @@
11 [Unit]
22 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
44
55 [Service]
66 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
1110 PIDFile=/var/run/l7directord.l7directord.pid
1211
1312 [Install]
--- a/l7vsd/systemd/l7vsd.service
+++ b/l7vsd/systemd/l7vsd.service
@@ -1,14 +1,12 @@
11 [Unit]
22 Description=UltraMonkey-L7 loadbalancing daemon
33 After=syslog.target network.target nss-lookup.service
4+Before=l7directord.service
45
56 [Service]
6-Type=oneshot
7-# LimitNOFILE=65536
8-EnvironmentFile=/etc/l7vs/l7vs.cf
7+Type=forking
98 ExecStart=/usr/sbin/l7vsd
109 ExecStop=/bin/kill $MAINPID
11-RemainAfterExit=yes
1210
1311 [Install]
1412 WantedBy=multi-user.target