LXC-Web-Panel icon indicating copy to clipboard operation
LXC-Web-Panel copied to clipboard

Remove PID file once lwp was stopped

Open Napsty opened this issue 12 years ago • 1 comments

After /etc/init.d/lwp stop was launched, the PID file still exists in /var/run/ (symlinked to /run in Ubuntu 12.04.2 LTS):

# /etc/init.d/lwp stop
Stopping server...Stopped process in pidfile '/var/run/lwp.pid' (pid 64261).
done.

# ll /var/run/ | grep lwp
-rw-r--r--  1 root       root          6 Aug 14 16:12 lwp.pid

pid file should be removed once service was stopped successfully.

Napsty avatar Aug 14 '13 14:08 Napsty

This actually needs to be moved as an issue on the other repo (https://github.com/lxc-webpanel/lxc-webpanel.github.com/issues) because the script that does that is there.

alexandrujuncu avatar Nov 23 '13 17:11 alexandrujuncu