22 lines
364 B
Desktop File
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
|
|
|