Advertisement
AnrDaemon

Simple Apache HTTPD upstart init script

Aug 23rd, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. description "apache2 http server"
  2.  
  3. #start on local-filesystems and net-device-up IFACE!=lo
  4. #stop on runlevel [!2345]
  5.  
  6. #limit nofile XXX
  7. #limit noproc YYY
  8.  
  9. console log
  10.  
  11. env APACHE_RUN_USER="www-data"
  12. env APACHE_RUN_GROUP="www-data"
  13.  
  14. expect fork
  15.  
  16. exec /usr/sbin/apache2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement