change service type to simple

This commit is contained in:
Miroslav Lichvar 2011-08-22 17:18:31 +02:00
parent 3b8ff12d03
commit 25a3f1950b

View File

@ -3,10 +3,11 @@ Description=GPS Service Daemon
After=syslog.target network.target
[Service]
Type=forking
Type=simple
PIDFile=/var/run/gpsd.pid
EnvironmentFile=-/etc/sysconfig/gpsd
ExecStart=/usr/sbin/gpsd -P /var/run/gpsd.pid -F /var/run/gpsd.sock $OPTIONS $DEVICE
ExecStart=/usr/sbin/gpsd -P /var/run/gpsd.pid -F /var/run/gpsd.sock -N $OPTIONS $DEVICE
StandardError=syslog
[Install]
WantedBy=multi-user.target