1
0
moha/systemd/moha.service
2022-09-19 23:40:29 +02:00

21 lines
356 B
Desktop File

[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
Group=domotique
[Install]
WantedBy=multi-user.target