2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00
betateilchen 3ad04b57c9 fhem.service: restart=always reactivated
git-svn-id: https://svn.fhem.de/fhem/trunk@15975 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-23 20:05:16 +00:00

26 lines
617 B
Desktop File

# $Id$
[Unit]
Description=FHEM Home Automation
Wants=network.target
After=network.target
[Service]
Type=forking
User=fhem
Group=dialout
WorkingDirectory=/opt/fhem
ExecStart=/usr/bin/perl fhem.pl fhem.cfg
#ExecStart=/usr/bin/perl fhem.pl configDB
# uncomment next two lines if auto-restart desired
# please select restart options according your needs
# Restart=on-abnormal # uncomment for crash and watchdog event recovery only (keeps shutdown working)
Restart=always # alternativly uncomment this line for recover always
RestartSec=5 # uncomment always if restart required!
[Install]
WantedBy=multi-user.target