summarylogtreecommitdiffstats
path: root/webthings-gateway.service
blob: 6a3d48a4bf7ec452e7bbe02eed1389475de7e8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Mozilla WebThings Gateway
After=network.target

[Service]
Type=simple
StandardOutput=journal
StandardError=journal
WorkingDirectory=/opt/webthings-gateway
ExecStart=/usr/bin/webthings-gateway
Restart=always
RestartSec=10s

[Install]
WantedBy=multi-user.target