Created
August 23, 2016 07:29
-
-
Save lukesUbuntu/07683676f01dbd10d6a8d7aa81b68e59 to your computer and use it in GitHub Desktop.
fix proftp stopping service in virtualmin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The problem is due to ProFTPD not stopping in time to be restarted for log rotation | |
Woraround | |
nano /etc/init.d/proftpd | |
Find this line: | |
start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE" | |
Change to this: | |
start-stop-daemon --stop --signal $SIGNAL --retry 1 --quiet --pidfile "$PIDFILE" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment