To to close down https://github.com/lxc/lxcfs/pull/188
Signed-off-by: tomponline <tomp@tomp.uk>
Restart=on-failure
ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
Delegate=yes
Restart=on-failure
ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
Delegate=yes
+ExecReload=/bin/kill -USR1 $MAINPID
[Install]
WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target
status_of_proc -p ${PIDFILE} "${DAEMON}" lxcfs
;;
status_of_proc -p ${PIDFILE} "${DAEMON}" lxcfs
;;
+ reload)
+ if init_is_upstart; then
+ exit 1
+ fi
+ kill -USR1 $(cat ${PIDFILE})
+ ;;
+
restart|force-reload)
if init_is_upstart; then
exit 1
restart|force-reload)
if init_is_upstart; then
exit 1