/srv/irclogs.ubuntu.com/2011/07/08/#upstart.txt

pgrhi. how to properly integrate svnserve into upstart? i can start but not stop (hangs)17:07
pgr"exec sudo -u svn /usr/bin/svnserve -d -r /srv/svn/repos" <-- did experiment with "expect daemon/fork"17:07
ionDo not use ‘expect’ unless you’re absolutely sure of the behavior of the main process wrt. forking.17:13
ionBetter just to make the service not fork if possible, while we’re waiting for the new fork-following implementation in a future version of Upstart.17:14
ions/fork if/daemonize if/17:14
pgrthe problem is, that svnserve requires one of the options: -i (inetd) -d (daemon)17:16
pgri think, inetd is totally incompatible to upstart, right?17:16
pgr(with inetd i mean -i option)17:17
pgrmaybe i am confusing between inet and init. so would installing inetd daemon solve the problem, as svnserve does not need to daemonize?17:23
pgr"inet-service", "listen on", so upstart will replace inetd someday17:36
ionOffering only inetd and daemonizing modes is insane. But hey, it’s svn, it can be expected to be insane in other things than version control, too. :-P17:38
ionGiven Upstart’s presently lacking fork tracking and missing inetd mode and given svnserve’s stupidity with the operating modes, i’d probably just go with xinetd.17:40
pgras xinetd is itself a service, how to integrate xinetd into upstart?17:45
ionJust let xinetd be started by whatever the packaging comes with.17:46
pgrrevoking question, xinetd starts -- inetd package did not17:46
pgrok, seems to start/stop fine with xinetd. would have been nice to do it with upstart. I like it combining a lot of tools and using simple statements.18:19
pgri read about another upcoming init replacement in a computer magazine: systemd. which one will make it?18:22
ionSeems to me that systemd tries to be like apple’s launchd the design of which was considered in the first place when beginning the development of Upstart and dropped for its faults.18:29
Keybukpgr: I think both have already met the minimum definition for "make it"18:47
Keybukthat's the thing about Linux, there can be more than one winner18:47
pgratm I will stick to upstart and try to learn more about it.18:53
pgris it possible atm to use upstart instead of cron to do periodic (svn) backups?18:54
ionCron functionality is another thing that’s not implemented yet but will at some point in the future. :-)18:55
pgrdamn :)18:57
Keybukion: James does have the cron code now19:21
ioncool19:22

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