2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00
fhem-mirror/fhem/contrib/init-scripts/fhem.service
betateilchen 8f537b6c94 fhem.service: do not set restart options as default
git-svn-id: https://svn.fhem.de/fhem/trunk@15704 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-27 12:49:12 +00:00

22 lines
368 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
#Restart=always
#RestartSec=5
[Install]
WantedBy=multi-user.target