From mike.gabriel@das-netzwerkteam.de Sat Dec 21 22:19:10 2013 Received: (at submit) by bugs.x2go.org; 21 Dec 2013 21:19:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id 44C915DB13 for ; Sat, 21 Dec 2013 22:19:10 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 11106C8 for ; Sat, 21 Dec 2013 22:19:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id CE51E3C062 for ; Sat, 21 Dec 2013 22:19:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DYBW5j1VHR-b for ; Sat, 21 Dec 2013 22:19:09 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id ABB0B3BB0A for ; Sat, 21 Dec 2013 22:19:09 +0100 (CET) Received: from p4FE5F50D.dip0.t-ipconnect.de (p4FE5F50D.dip0.t-ipconnect.de [79.229.245.13]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Sat, 21 Dec 2013 21:19:09 +0000 Date: Sat, 21 Dec 2013 21:19:09 +0000 Message-ID: <20131221211909.Horde.BuLL470-k55ILjD3xtFRrw6@mail.das-netzwerkteam.de> From: Mike Gabriel To: submit@bugs.x2go.org Subject: Provide support for systemd User-Agent: Internet Messaging Program (IMP) H5 (6.1.4) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 79.229.245.13 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 Iceweasel/23.0 Content-Type: multipart/signed; boundary="=_AtmIrLFhC2eQES_Iccm1UA7"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_AtmIrLFhC2eQES_Iccm1UA7 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes Content-Disposition: inline Package: x2gobroker-daemon Severity: important For easy use of x2gobroker-daemon with systemd, we need: o a service file (easy!) o a way to configure x2gobroker without /etc/default/{python-x2gobroker,x2gobroker-daemon} The latter aspect is a little complex. Recommended approaches are drawn at [1]. For x2gobroker-daemon my suggestions is: provide a config file /etc/x2go/x2gobroker-daemon.conf in inifile format that gets parsed by /x2gobroker/defaults.py. Environment variables have precedence over inifile options have precedence over the system defaults. Mike [1] http://0pointer.de/blog/projects/on-etc-sysinit.html -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb --=_AtmIrLFhC2eQES_Iccm1UA7 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJStgXNAAoJEJr0azAldxsxZqgP/iv6Ek/abvWHLrjg1B5uadXE AzP1xpBcVSHPrNHqmT8iGq3xW04tR/sszS4Oku2YAhXX58e0sSKAzkb2iJO0KRf0 On1CRZhYiRnhajiIEkVIMm4FwBX8s2B3ddp86vrMIsLtnR/0E2QdRKT1geIBisX3 IDsA7PWpit/IlupT0FDM8Ehfxy+9nmcDd+Rf6LwbbT1f57HAcuNW7jWU803eOLpM BfYY/rYdzCEv+OVn8KRHF+ryjSDMgJTvARNyhCp+1yhEzxnCw0q8faE6cmupECNb GOzL0Sbf1RE6BHC1UO/4xAFqT9k09PeCpRUbWZ20gSoXHVnu/kf/84URSllB+4zI Qzb184FaE48kiCLwRvG4bS4xdG4UV7tvKs3qPEE1mlv9+OEDrAynB+IPffEzArgr 1yWshVzSzdFIViSKBGRpDv+nQ5LudsdWe1yRfgTmBxnuF2jirY9+e6ASj2UdPQL/ xF72nowQ3bBsqBw5SL4rY/JduH4N6/u4/BJm3zPO/c1nlq1DBqxZ21+/DD+lgctJ iYE8ScZl/brrxbs+s42xucmc10DADOQGN3cRDPzrsp7Bj1/3/rOf2LaHyXPmLsUi wTtARjBHio24Mzv/F7ACYpLyHZTPw37M9eR6MCvAMWGvrDqlH3GSLpjfJ0VAfeCB kOdvAhoCFSEWmdz4sWTa =iE3G -----END PGP SIGNATURE----- --=_AtmIrLFhC2eQES_Iccm1UA7--