Re: [system-tools] s-t-b 2.1.0
- From: Carlos Garnacho <carlosg gnome org>
- To: Joe Marcus Clarke <marcus FreeBSD org>
- Cc: system-tools-list gnome org
- Subject: Re: [system-tools] s-t-b 2.1.0
- Date: Fri, 01 Dec 2006 20:44:52 +0100
Hi!
Sorry, perhaps this change should have been announced more broadly. I'll
take this mail as an excuse to do that :)
<announce>
Main changes in system-tools-backeds 2.1.x:
The main program now is a C/GLib/DBus dispatcher
in /usr/bin/system-tools-backends. it launches its own private bus and
spawns the necessary configuration modules under request, those modules
shutdown after some inactivity time.
This reduces memory usage down to ~200Kb of writable memory during
inactivity, and will also allow to develop modules in other languages
for those who can't see a line of Perl code without vomiting ;)
</announce>
On Fri, 2006-12-01 at 14:29 -0500, Joe Marcus Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I noticed this new dispatcher in s-t-b 2.1.0. I assume that the init
> script for s-t-b should now call this dispatcher instead of the
> SystemToolsBackend.pl script? It would be nice if a sample init script
That's right, perhaps the CLI should have been more abstracted since the
beginning (a shell script or something, dunno...)
> could be included in the distribution to help ports. I'd be happy to
> offer up FreeBSD's:
Thanks, it would be a good idea to install initscripts for the distros
it recognizes, and a huge warning if it doesn't, will work on it soon.
where should that script be installed?
Thanks!
>
> #!/bin/sh
> #
> # PROVIDE: system-tools-backends
> # REQUIRE: DAEMON dbus
> #
>
> . /etc/rc.subr
> . /usr/local/etc/gnome.subr
>
> system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}
>
> name=system_tools_backends
> rcvar=`set_rcvar`
> command="/usr/local/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl"
> pidfile="/var/run/system-tools-backends.pid"
>
> load_rc_config ${name}
> run_rc_command "$1"
>
> Thanks.
>
> Joe
>
> - --
> Joe Marcus Clarke
> FreeBSD GNOME Team :: gnome FreeBSD org
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFcIKEb2iPiv4Uz4cRArP1AJ9lHZLp+Pzikn9pFjkwDajwWbNH+wCeM826
> JmkEESXLt0H+ZP6lMFgYfyY=
> =03ed
> -----END PGP SIGNATURE-----
> _______________________________________________
> system-tools-list mailing list
> system-tools-list gnome org
> http://mail.gnome.org/mailman/listinfo/system-tools-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]