Bug#879087: 'systemctl disable' on an enabled service which is an instance of a template unit fails !

2017-10-19 Thread Michael Biebl
Am 19.10.2017 um 09:22 schrieb denis.barba...@orange.com: > [Install] > WantedBy=multi-user.target > Alias=%p@%i.service Btw, if you drop this line Alias=%p@%i.service then systemctl disable will work just fine. I don't think you need the Alias anyway. "systemctl start/stop/restart/status

Bug#879087: 'systemctl disable' on an enabled service which is an instance of a template unit fails !

2017-10-19 Thread denis.barbaron
Dear maintainers, I don't know why but my original message sent by mail does not contain the addition of text "" at the end of each reference of a unit service, so consider to remove them while reading the message. Regards.

Bug#879087: 'systemctl disable' on an enabled service which is an instance of a template unit fails !

2017-10-19 Thread denis.barbaron
Package: systemd Version: 232-25+deb9u1 Imagine I have this template unit file /lib/systemd/system/foo@.service [Unit] Description=hello service (%i) [Service] TimeoutStartSec=0 Type=oneshot ExecStart=/bin/echo "hello world %i" [Install]