diff options
Diffstat (limited to 'usr/lib/systemd/system/commission.service')
-rw-r--r-- | usr/lib/systemd/system/commission.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/commission.service b/usr/lib/systemd/system/commission.service new file mode 100644 index 0000000..5ea3dbc --- /dev/null +++ b/usr/lib/systemd/system/commission.service @@ -0,0 +1,23 @@ +# Copy file /opt/lora/lora-network-server.conf.sample to +# to /var/config/lora/lora-network-server.conf +# Then: +# systemctl enable lora-network-server.service +# systemctl start lora-network-server.service +# Log view: +# systemctl status lora-network-server.service +# Last 30 lines of output: +# journalctl -n30 -xu lora-network-server.service +# If default settings are wrong, edit /var/config/lora/lora-network-server +# +[Unit] +Description=mLinux Commissioning +After=network-online.target + +[Service] +SyslogIdentifier=Commissioning +WorkingDirectory=/ +ExecStart=/usr/libexec/commission/commission +Restart=on-failure + +[Install] +WantedBy=multi-user.target |