debug
This commit is contained in:
20
systemd/moha.service
Normal file
20
systemd/moha.service
Normal file
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=moha
|
||||
After=network.target
|
||||
After=mosquitto.service
|
||||
After=mysqld.service
|
||||
After=pws2mqtt.service
|
||||
After=zigbee2mqtt.service
|
||||
|
||||
[Service]
|
||||
ExecStart=php /home/daniel/moha/moha.php
|
||||
WorkingDirectory=/home/daniel/moha
|
||||
StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
Restart=always
|
||||
User=domotique
|
||||
roup=domotique
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user