UltraMonkey-L7 V3(multi-thread implementation)
Révision | b7e9aa7929f30a922d3d5a0b30e044ce81578060 (tree) |
---|---|
l'heure | 2015-10-23 01:06:43 |
Auteur | Shinya TAKEBAYASHI <omoikanenomikoto@gmai...> |
Commiter | Shinya TAKEBAYASHI |
Fixed error: cannot start l7vsd using systemctl.
A /var/run directory (including /var/run/l7vs) is cleaning up by system.
Thus, should make a /var/run/l7vs directory at ExecStartPre sequence.
@@ -5,7 +5,7 @@ Before=l7directord.service | ||
5 | 5 | |
6 | 6 | [Service] |
7 | 7 | Type=forking |
8 | -ExecStartPre=/bin/rm -rf /var/run/l7vs/l7vs | |
8 | +ExecStartPre=/usr/bin/mkdir -p /var/run/l7vs | |
9 | 9 | ExecStart=/usr/sbin/l7vsd |
10 | 10 | ExecStop=/bin/kill $MAINPID |
11 | 11 | ExecStopPost=/bin/rm -rf /var/run/l7vs/l7vs |