mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.service: bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@16001 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6e8a2db194
commit
fab447eb8a
@ -12,14 +12,7 @@ Group=dialout
|
|||||||
WorkingDirectory=/opt/fhem
|
WorkingDirectory=/opt/fhem
|
||||||
ExecStart=/usr/bin/perl fhem.pl fhem.cfg
|
ExecStart=/usr/bin/perl fhem.pl fhem.cfg
|
||||||
#ExecStart=/usr/bin/perl fhem.pl configDB
|
#ExecStart=/usr/bin/perl fhem.pl configDB
|
||||||
|
Restart=always
|
||||||
# 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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user