[17:07] <pgr> hi. 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:13] <ion> Do not use ‘expect’ unless you’re absolutely sure of the behavior of the main process wrt. forking.
[17:14] <ion> Better 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] <ion> s/fork if/daemonize if/
[17:16] <pgr> the problem is, that svnserve requires one of the options: -i (inetd) -d (daemon)
[17:16] <pgr> i think, inetd is totally incompatible to upstart, right?
[17:17] <pgr> (with inetd i mean -i option)
[17:23] <pgr> maybe i am confusing between inet and init. so would installing inetd daemon solve the problem, as svnserve does not need to daemonize?
[17:36] <pgr> "inet-service", "listen on", so upstart will replace inetd someday
[17:38] <ion> Offering 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. :-P
[17:40] <ion> Given 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:45] <pgr> as xinetd is itself a service, how to integrate xinetd into upstart?
[17:46] <ion> Just let xinetd be started by whatever the packaging comes with.
[17:46] <pgr> revoking question, xinetd starts -- inetd package did not
[18:19] <pgr> ok, 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:22] <pgr> i read about another upcoming init replacement in a computer magazine: systemd. which one will make it?
[18:29] <ion> Seems 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:47] <Keybuk> pgr: I think both have already met the minimum definition for "make it"
[18:47] <Keybuk> that's the thing about Linux, there can be more than one winner
[18:53] <pgr> atm I will stick to upstart and try to learn more about it.
[18:54] <pgr> is it possible atm to use upstart instead of cron to do periodic (svn) backups?
[18:55] <ion> Cron functionality is another thing that’s not implemented yet but will at some point in the future. :-)
[18:57] <pgr> damn :)
[19:21] <Keybuk> ion: James does have the cron code now
[19:22] <ion> cool