2022-09-01 18:49:32 +02:00
|
|
|
[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
|
2022-09-19 23:40:29 +02:00
|
|
|
Group=domotique
|
2022-09-01 18:49:32 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|