For what it's worth, debian/ubuntu is now systemd
This is all I have in my lms.service, systemd doesn't care if lms
restarts itself.
Code:
--------------------
[Unit]
Description=Logitech Media Server Daemon
After=network-online.target mnt-media.mount
Wants=network-online.target
[Service]
User=lms
Group=lms
PIDFile=/var/run/logitechmediaserver.pid
WorkingDirectory=/opt/slimserver
ExecStart=/opt/slimserver/slimserver.pl --charset utf8
RestartSec=10
TimeoutStartSec=60
Restart=always
[Install]
WantedBy=multi-user.target
--------------------
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107643
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix