diff options
| author | John Klug <john.klug@multitech.com> | 2025-05-13 17:06:24 +0000 |
|---|---|---|
| committer | John Klug <john.klug@multitech.com> | 2025-05-13 17:06:24 +0000 |
| commit | c7e823c5f5036d187aa1b1db2676d3c712b2321e (patch) | |
| tree | a3b2a6e08575b760c9b3baef52eeac678ad469c9 /usr/lib/systemd/system/commission-php-fpm.service | |
| parent | d33e698296fd633d2f2d2cb6cbc45b5543fca468 (diff) | |
| download | commissioning-c7e823c5f5036d187aa1b1db2676d3c712b2321e.tar.gz commissioning-c7e823c5f5036d187aa1b1db2676d3c712b2321e.tar.bz2 commissioning-c7e823c5f5036d187aa1b1db2676d3c712b2321e.zip | |
Add systemd support to commissioning
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 |
