]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
vsftpd: Upstart jobfile - Disable run in background.
authorSchantl Stefan <Stevee@ipfire.org>
Sun, 6 Jun 2010 09:28:21 +0000 (11:28 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Sun, 6 Jun 2010 09:28:21 +0000 (11:28 +0200)
Add path for configfile to upstart jobfile and allways overwrite the background switch to NO -> So we allways have full control that the job will run in forderground whatever is set inside the configfile. Upstart has problems to stop the process if running in background.

pkgs/core/vsftpd/vsftpd.init

index 48b9ae48a6547fff18778969314b248955ba0cda..5a6bda2d109b023ce2bd30b961ad30dd7f25eda2 100644 (file)
@@ -4,6 +4,6 @@ author                  "IPFire Team"
 start on started network
 stop on stopping network
 
-exec /usr/bin/vsftpd
+exec /usr/bin/vsftpd /etc/vsftpd/vsftpd.conf -obackground=NO
 expect daemon
 respawn