1
0
moha/systemd/moha.service
2023-01-26 18:30:51 +01:00

22 lines
364 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
Nice=15
[Install]
WantedBy=multi-user.target