/srv/irclogs.ubuntu.com/2008/09/28/#upstart.txt

kaushalhi09:40
kaushalwhen i edit any files in /etc/event.d/*09:40
kaushalwhat i have to run after that to update09:40
ion_If your inotify is working, nothing.09:41
kaushalok09:42
kaushalion_, how can i check whether my inotify is working or not09:42
ion_If you’re running a kernel image from any Ubuntu release shipping Upstart, you have a working inotify.09:44
kaushaloh ok09:45
kaushalis there a way i can find out on the Ubuntu Server09:45
ion_If you have /proc/sys/fs/inotify, it’s working.09:46
kaushalok09:46
kaushalion_, its there09:48
kaushalI find it it has a directory09:49
kaushalmax_queued_events  max_user_instances  max_user_watches09:49
kaushalion_, for example if its not there how can i update /etc/event.d/09:52
ion_Some version of Upstart gained functionality to reload the job directory on signal, HUP perhaps. The version might have been 0.5.09:55
kaushalii  upstart        0.3.9-2        event-based init daemo09:56
ion_See https://launchpad.net/upstart/0.5/0.5.009:56
kaushalion_, I am running 0.3.9-2 version09:57
ion_Yes09:57
kaushalon ubuntu 8.04 server09:57
kaushalion_, can you please explain me about those 3 files09:58
kaushalmax_queued_events  max_user_instances  max_user_watches09:58
ion_Nothing except what’s obvious from the filenames.09:58
kaushalok09:59
ion_For more info, please look it up with Google or something.09:59
kaushalion_, i have another query how can i know what all services has been started on Ubuntu Server09:59
kaushalI have been using Gentoo and Redhat10:00
kaushalon Gentoo its rc-status and on Redhat its service --status-all10:00
kaushalwhats on Ubuntu10:00
ion_Almost all of the services in Ubuntu are still started using sysvrc, which doesn’t have a consistent method for querying the status. For instance, pgrep -l sshd lists whether sshd is running. As soon as the ssh service is migrated to an Upstart job, both ‘inictl list’ and ‘initctl status ssh’ should list its status.10:02
kaushalok10:04
kaushalion_, please give me a moment10:04
kaushalinitctl: Unknown job: s10:08
kaushalinitctl: Unknown job: ssh 10:08
kaushalinitctl: Unknown job: sshd10:11
kaushal:(10:11
AlexExtremeAs soon as the ssh service is migrated to an Upstart job, both ‘inictl list’ and ‘initctl status ssh’ should list its status.10:13
AlexExtremeread properly what ion_ said. "pgrep -l sshd lists whether sshd is running"10:14
kaushalAlexExtreme, ok10:47
kaushalAlexExtreme, Thanks 10:47
kaushalJust curious to know when will ssh service is migrated to an Upstart job10:48
pbnHello, how do I tell upstart that my default runlevel is not 2 but 3 ?20:22
keesjpbn: edit inittab  (look at /etc/event.d/rc-default (that one does some grep magic)20:29
keesjhmm I perhap sjust would edit that file :P20:30
pbnkeesj: thank you20:31
pbnyes but that script looks into /etc/inittab :)20:31
pbnperhaps is the solution: echo "id:3:initdefault" > /etc/inittab ... ? :)20:32
keesjpbn: so I guess that if you have a inittab you should modify it , oterwise it's easyer to changed it in the rc-default 21:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!