3aa01fd
[Unit]
3aa01fd
Description=Domoticz Home Automation Server
3aa01fd
3aa01fd
[Service]
3aa01fd
User=domoticz
3aa01fd
Group=domoticz
3aa01fd
EnvironmentFile=/etc/sysconfig/domoticz
8f1bf90
ExecStart=/usr/bin/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
3aa01fd
WorkingDirectory=/usr/share/domoticz
3aa01fd
# Give the right to open priviliged ports. This allows you to run on a port <1024 without root permissions (user/group setting above)
3aa01fd
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
3aa01fd
3aa01fd
[Install]
3aa01fd
WantedBy=multi-user.target