[HCoop-Help] Own Daemon: Restart with Server Restart
Michal
michalcharemza at gmail.com
Fri Apr 10 10:21:00 EDT 2009
Looking at http://wiki.hcoop.net/RunningYourOwnApache#Apachesetupandstartup
I'm guessing that I need to use k5start to run my script for
appropriate file permissions. So now I'm guessing:
JABBER=k5start -qtU -f /etc/keytabs/user.daemon/michal --
/afs/hcoop.net/user/m/mi/michal/bin/jabber_daemon
@reboot $JABBER
0-59/5 * * * * $JABBER
Should work, checking every 5 minutes.
On Fri, Apr 10, 2009 at 2:34 PM, Michal <michalcharemza at gmail.com> wrote:
> Ah... I didn't know that crontab could do things on restart. I have
> now request permission for it. Can I ask if the following suffices for
> my crontab file:
>
> @reboot ~/bin/jabberd_daemon
>
> (Where jabberd_demon is my script that calls k5start) It's just that I
> can't really test a server reboot.
>
> Or should it also check if it is running every X minutes? If so, what
> should the checking interval be?
>
>
> On Fri, Apr 10, 2009 at 2:11 PM, Davor Ocelic <docelic at hcoop.net> wrote:
>> On Fri, 10 Apr 2009 10:03:51 +0100
>> Michal <michal at hcoop.net> wrote:
>>
>>> Hi,
>>>
>>> If the server is restarted/rebooted, is there a way to automatically
>>> get my own daemons to restart automatically?
>>
>> Yes, you can request crontab privilege from the Members portal, and
>> use the cron to re-start your daemons.
>>
>> -doc
>>
>> _______________________________________________
>> HCoop-Help mailing list
>> HCoop-Help at lists.hcoop.net
>> https://lists.hcoop.net/listinfo/hcoop-help
>>
>
More information about the HCoop-Help
mailing list