1[Unit]
2Description=channel_run
3After=network.target remote-fs.target nss-lookup.target
4Documentation=https://github.com/ampache/ampache/wiki/channel-systemd
5
6[Service]
7PrivateTmp=true
8KillMode=mixed
9Type=simple
10User=www-data
11Group=www-data
12Restart=always
13RestartSec=3
14ExecStart= php bin/cli run:channel -- -c 1 -v
15PIDFile=/run/php/ampache_channel_1.pid
16ExecReload=/bin/kill -HUP $MAINPID
17WorkingDirectory=/var/www/html
18ProtectSystem=yes
19
20[Install]
21WantedBy=multi-user.target
22
23