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