sensenet/ops/sensenet.service

16 lines
314 B
SYSTEMD

[Unit]
Description=sensor network telemetry relay
Wants=network-online.target
After=network-online.target
AssertFileIsExecutable=/usr/local/bin/sensenet
[Service]
User=kyle
Group=kyle
ExecStart=/usr/local/bin/sensenet
# Let systemd restart this service always
Restart=always
[Install]
WantedBy=multi-user.target