Hello,

while discussing on #debian-systemd we have found another possible way
to have the service managed under two names:

One one side (called "a") you have the true service with:
[Install]
Also=b.service
PartOf=b.service

One the other side (called "b") you have a dummy service:
[Service]
ExecStart=/bin/true
RemainAfterExit=yes

[Install]
Also=a.service


I have not tested this but it might be worth investigating if you really
want the service to be fully controllable under the two names. The
downside here is that "systemctl status b" will not show anything relevant
because it's really a separate service (and not an alias for the former
one).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to