DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 7th January 2013
ershiba ershiba is offline
Loading, please wait...
 
Join Date: Dec 2012
Posts: 34
Thanked 0 Times in 0 Posts
Default Nginx - autostart & gracefully shutdown

hi friends,
right now, my nginx need to manually start using
Code:
$ sudo nginx
under my user oem account

what is the best practice or suggestion for starting it automatically and able to gracefully shutdown if it detect a power shutdown event (eg, when user press the [POWER] button on their PC)

is it by adding pkg_scripts="nginx" using /etc/rc.conf.local ?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do we need password to shutdown the box ? sw2wolf FreeBSD General 3 22nd May 2012 04:35 PM
shutdown message derf FreeBSD General 5 14th December 2010 04:57 PM
openbsd shutdown phill OpenBSD General 3 27th October 2009 12:27 PM
portupgrade messed up my autostart in rc.conf semtecs FreeBSD Installation and Upgrading 6 17th March 2009 05:04 PM
Autostart Xfce ninjatux FreeBSD General 8 16th June 2008 06:47 AM


All times are GMT. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick