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