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:07 |
ion | Do not use ‘expect’ unless you’re absolutely sure of the behavior of the main process wrt. forking. | 17:13 |
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:14 |
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:16 |
pgr | (with inetd i mean -i option) | 17:17 |
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:23 |
pgr | "inet-service", "listen on", so upstart will replace inetd someday | 17:36 |
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:38 |
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:40 |
pgr | as xinetd is itself a service, how to integrate xinetd into upstart? | 17:45 |
ion | Just let xinetd be started by whatever the packaging comes with. | 17:46 |
pgr | revoking question, xinetd starts -- inetd package did not | 17:46 |
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:19 |
pgr | i read about another upcoming init replacement in a computer magazine: systemd. which one will make it? | 18:22 |
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:29 |
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:47 |
pgr | atm I will stick to upstart and try to learn more about it. | 18:53 |
pgr | is it possible atm to use upstart instead of cron to do periodic (svn) backups? | 18:54 |
ion | Cron functionality is another thing that’s not implemented yet but will at some point in the future. :-) | 18:55 |
pgr | damn :) | 18:57 |
Keybuk | ion: James does have the cron code now | 19:21 |
ion | cool | 19:22 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!