Feature #394

oned rc script

Added by Dan Yocum almost 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:11/04/2010
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:-
Target version:Release 2.0.1
Resolution:fixed Pull request:

Description

Hi,

A oned init script should exist to restart the oned upon server reboot. I've attached a file that we use on our Red Hat like systems (SLFv5x)

Thanks,
Dan

oned (4 KB) Dan Yocum, 11/04/2010 09:32 PM

Associated revisions

Revision 373f00b6
Added by Jaime Melis over 9 years ago

bug #394: added init scripts created by Dan Yocum and Damien Raude-Morvan

Revision 010a26d5
Added by Jaime Melis over 9 years ago

bug #394: changed chkconfig levels

Revision 6b639066
Added by Jaime Melis over 9 years ago

bug #394: created opensuse init script from opensuse's skeleton

Revision 5fb66792
Added by Jaime Melis over 9 years ago

bug #394: changed CentOS init script to rely on /usr/bin/one instead of starting oned and scheduler separately

History

#1 Updated by Damien Raude-Morvan almost 10 years ago

Hi,

I've also created a init.d script for OpenNebula in Debian/Ubuntu package. You can find it at :
http://git.debian.org/?p=pkg-opennebula/opennebula.git;a=blob;f=debian/opennebula.init;hb=HEAD

Differences from Dan proposed one :
  • Use "one" script (provided in opennebula package) to handle $ONE_LOCATION and others vars
  • LSB compliant headers [http://wiki.debian.org/LSBInitScripts]
  • Handle case of "volatile" /var/run and /var/lock filesystem (create them before every start)
  • Doesn't provide a "status" command

Cheers,

#2 Updated by Ruben S. Montero over 9 years ago

  • Assignee set to Jaime Melis
  • Target version set to Release 2.0.1

#3 Updated by Jaime Melis over 9 years ago

  • Status changed from New to Assigned

I have included both rc scripts into the main git repository. Release 2.0.1 will feature these scripts.

Dan, Damien, thank you both for your input!

Testing pending.

#4 Updated by Ruben S. Montero over 9 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF