mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
22 lines
368 B
Desktop File
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
|
|
|