summarylogtreecommitdiffstats
path: root/openhab.service
blob: 95fc3b4c0e902fbb002230cc3a052e885f4f32bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=OpenHAB home automation software
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
ExecStart=/opt/openhab/start.sh server
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=on-failure

[Install]
WantedBy=multi-user.target