[systemd-devel] How to properly write an "umbrella" unit

Marc Haber mh+systemd-devel at zugschlus.de
Wed Jul 22 00:57:30 PDT 2015


On Tue, Jul 21, 2015 at 09:42:38PM +0200, Michael Biebl wrote:
> Have a look at the openvpn package in Debian. It implements something
> like you have in mind.
> There are multiple openvpn at .service instances and a single
> openvpn.service which can be used by the admin to start/stop/restart
> them.

That uses a generator, which is somewhat oversized for the question at
hand. And it's a service with ExecStart=/bin/true which is a hackish
workaround.  But if that's the way to go, I'm fine with it.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the systemd-devel mailing list