blob: 9148e4cdae2e392bbca60131b3a0f63a10e92142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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
ExecStopPost=/usr/libexec/commission/nfoff.sh
Restart=on-failure
[Install]
WantedBy=multi-user.target
|