diff options
Diffstat (limited to 'usr/lib/systemd/system/commission-php-fpm.service')
-rw-r--r-- | usr/lib/systemd/system/commission-php-fpm.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/commission-php-fpm.service b/usr/lib/systemd/system/commission-php-fpm.service new file mode 100644 index 0000000..3651747 --- /dev/null +++ b/usr/lib/systemd/system/commission-php-fpm.service @@ -0,0 +1,22 @@ +# 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 PHP Component +After=network-online.target commission.service + +[Service] +SyslogIdentifier=PHP-Commissioning +ExecStart=/usr/libexec/commission/commission-php-fpm +Restart=on-failure + +[Install] +WantedBy=multi-user.target |