rundeckd when OSX boots

247 views
Skip to first unread message

David Portabella

unread,
May 24, 2013, 7:49:44 AM5/24/13
to rundeck...@googlegroups.com
according to this page:

to start rundeck, I need to do as follows:
export RDECK_BASE=/Users/david/bin/rundeck
$RDECK_BASE/server/sbin/rundeckd start

what is the proper way to configure OSX to start rundeck when the system boots?


Alex Honor

unread,
May 24, 2013, 9:25:28 AM5/24/13
to rundeck...@googlegroups.com
Hi David,


Since launchd doesn't like processes that daemonize themselves, you would need to make a variation of rundeckd that does not nohup and fork the process into the background.  
Also the file redirection should be done in the launchd plist file rather than inside the start up script. It is also suggested to state the sockets used in the Listener section of the plist.

Let us know how it goes.

Thanks 

From: David Portabella <david.po...@gmail.com>
To: rundeck...@googlegroups.com
Sent: Fri, May 24, 2013 4:49:57 AM
Subject: [rundeck] rundeckd when OSX boots
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Portabella

unread,
Jun 14, 2013, 10:04:44 AM6/14/13
to rundeck...@googlegroups.com
Hi,

I didn't manage to make it work yet.

I get either a "nohup: can't detach from console: Inappropriate ioctl for device", or a "fg: no job control".
(I still need to put it in background for a moment, just to get the pid)

see the modified script for launchd:

any idea?


regards,
David


--
You received this message because you are subscribed to a topic in the Google Groups "rundeck-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rundeck-discuss/C_m3_xe4cOs/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to rundeck-discu...@googlegroups.com.

David Portabella

unread,
Nov 29, 2013, 9:19:52 PM11/29/13
to rundeck...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages