mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-13 03:05:34 +00:00
./contrib/init-scripts/fhem.service: sysv init scripts no longer needed
git-svn-id: https://svn.fhem.de/fhem/trunk@15684 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
218d367543
commit
e7f8f8f23d
@ -1,13 +1,20 @@
|
||||
# $Id$
|
||||
|
||||
[Unit]
|
||||
Description=FHEM Home Automation
|
||||
Wants=network.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/etc/init.d/fhem start
|
||||
ExecStop=//etc/init.d/fhem stop
|
||||
User=fhem
|
||||
Group=dialout
|
||||
WorkingDirectory=/opt/fhem
|
||||
#ExecStart=/usr/bin/perl fhem.pl fhem.cfg
|
||||
ExecStart=/usr/bin/perl fhem.pl configDB
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user