domoticz/domoticz.service

15 lines
533 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Domoticz daemon
After=network.target
[Service]
User=domoticz
Group=domoticz
EnvironmentFile=/etc/sysconfig/domoticz
ExecStart=/usr/share/domoticz/domoticz -www $WWW_PORT -sslwww $SSL_PORT -sslcert $SSLCERT -sslpass $SSLPASS -sslmethod $SSLMETHOD -ssloptions $SSLOPTIONS -ssldhparam $SSLDHPARAM -approot $APP_ROOT -dbase $DBASE -userdata $USERDATA -loglevel $LOGLEVEL -pidfile /run/domoticz/domoticz.pid
PIDFile=/run/domoticz/domoticz.pid
WorkingDirectory=/usr/share/domoticz
[Install]
WantedBy=multi-user.target