Skip to content

Instantly share code, notes, and snippets.

@liweinan
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liweinan/9207013 to your computer and use it in GitHub Desktop.
Save liweinan/9207013 to your computer and use it in GitHub Desktop.
[Unit]
Description=The EWS Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
EnvironmentFile=/etc/sysconfig/httpd22
ExecStart=/usr/sbin/httpd22 $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd22 $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd22 $OPTIONS -k stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment