[Unit] Description=Apache with PHP 5.2 After=network.target remote-fs.target nss-lookup.target [Service] Type=forking RootDirectory=/chroot/httpd52 RootDirectoryStartOnly=no Environment=APACHE_STARTED_BY_SYSTEMD=true ExecStart=/usr/sbin/apache2ctl-52 start ExecStop=/usr/sbin/apache2ctl-52 stop ExecReload=/usr/sbin/apache2ctl-52 graceful Restart=on-abort #PrivateTmp=true #ReadOnlyPaths=/chroot/httpd52/bin /chroot/httpd52/sbin /chroot/httpd52/lib /chroot/httpd52/lib64 /chroot/httpd52/usr /chroot/httpd52/boot /chroot/httpd52/etc /chroot/httpd52/opt #PrivateDevices=true #ProtectHome=true UMask=002 [Install] WantedBy=multi-user.target