blob: ee6fd55d9be902eab03cb9315526fdd57683b526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=The openHAB 3 Home Automation Bus Solution
Documentation=http://docs.openhab.org
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=openhab3
Group=openhab3
WorkingDirectory=/usr/share/openhab3
EnvironmentFile=/etc/default/openhab3
ExecStart=/usr/share/openhab3/karaf_wrapper.sh server
ExecStop=/usr/share/openhab3/karaf_wrapper.sh stop
Restart=on-failure
[Install]
WantedBy=multi-user.target
|