# -- new systemd script --
# -- must be placed at /etc/systemd/system/piMooPCN.service --

# -- PREPARED, STILL NOT IN USE BY INSTALLER --

[Unit]
Description=piMoo Playlist Change Notifier
After=network.target

[Service]
WorkingDirectory=/var/www/html/piMoo/
ExecStart=/var/www/html/piMoo/cli_playlistChangeNotifier.php
ExecStop=/usr/bin/pkill -f cli_playlistChangeNotifier.php
Restart=always
User=www-data
Group=www-data

[Install]
WantedBy=multi-user.target
