tweaked service file
[myplc.git] / plc.service
index 59f7391..0246411 100644 (file)
@@ -1,12 +1,13 @@
 [Unit]
 Description=PLC Service
-After=syslog.target network.target
+After=network.target
 
 [Service]
-Type=forking
+Type=simple
 ExecStart=/etc/init.d/plc start
 ExecStop=/etc/init.d/plc stop
 ExecReload=/etc/init.d/plc reload
+TimeoutSec=300
 
 [Install]
 WantedBy=multi-user.target