Update Template for sundtek.service

Always restart on failure.
This commit is contained in:
Alexander Grothe 2019-01-21 22:33:05 +01:00
parent 4bdabc7992
commit 4a2f644bb3

View File

@ -6120,6 +6120,7 @@ Before=vdr.service
Type=forking Type=forking
ExecStart=/opt/bin/mediasrv -d --pluginpath=/opt/bin --wait-for-devices ExecStart=/opt/bin/mediasrv -d --pluginpath=/opt/bin --wait-for-devices
ExecStop=/opt/bin/mediaclient --shutdown ExecStop=/opt/bin/mediaclient --shutdown
Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
#+END_SRC #+END_SRC