[Unit] Description=ZoneMinder CCTV recording and security system After=network.target mysqld.service httpd.service Requires=mysqld.service httpd.service [Service] User=apache Type=forking ExecStart=/usr/bin/zmpkg.pl start ExecReload=/usr/bin/zmpkg.pl reload ExecStop=/usr/bin/zmstop [Install] WantedBy=multi-user.target