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