]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ntp: Disable forking in upstart jobile.
authorSchantl Stefan <Stevee@ipfire.org>
Sat, 5 Jun 2010 16:25:40 +0000 (18:25 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Sat, 5 Jun 2010 16:25:40 +0000 (18:25 +0200)
The ntpd can't stopped correctly from upstart if the process is allowed to fork itself.

pkgs/core/ntp/ntp.init

index 74847498553ff90d29e36bd7964c80ed2e9a0212..d47a5c6a5cd762eebc56aa39f2ef203d0188134d 100644 (file)
@@ -4,6 +4,5 @@ author                  "IPFire Team"
 start on started network
 stop on stopping network
 
-exec /usr/sbin/ntpd -4 -c /etc/ntp.conf
-expect daemon
+exec /usr/sbin/ntpd -4 -n -c /etc/ntp.conf
 respawn