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