]>
Commit | Line | Data |
---|---|---|
9dda6696 AM |
1 | [Unit] |
2 | Description=Domoticz Home Automation Server | |
d5409dc5 | 3 | After=syslog.target network.target time-sync.target |
9dda6696 AM |
4 | |
5 | [Service] | |
6 | User=domoticz | |
7 | Group=domoticz | |
8 | EnvironmentFile=/etc/sysconfig/domoticz | |
9 | ExecStart=/usr/bin/domoticz -www $WWW_PORT -sslwww $SSL_PORT -sslcert $SSLCERT -sslpass $SSLPASS -sslmethod $SSLMETHOD -ssloptions $SSLOPTIONS -ssldhparam $SSLDHPARAM -wwwroot $WWW_ROOT -dbase $DBASE -userdata $USERDATA -verbose $VERBOSE -log $LOG -loglevel $LOGLEVEL | |
10 | WorkingDirectory=/usr/share/domoticz | |
11 | # Give the right to open priviliged ports. This allows you to run on a port <1024 without root permissions (user/group setting above) | |
12 | #CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
13 | ||
14 | [Install] | |
15 | WantedBy=multi-user.target |