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