Re: how to remove template service from systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Op 6 okt. 2015 10:35 schreef "Łukasz Michalski" <lm@xxxxxxx>:
>
> Hi,
>
> I have template service for VirtualBox:
>
> [root@serenity amag_kghm]# cat /etc/systemd/system/vboxvmservice@.service
[...]
> On of service from this template failed and I removed it.
> Now systemctl status vboxvmservice@* shows:
>
> ● vboxvmservice@A.service - VBox Virtual Machine A Service
>    Loaded: loaded (/etc/systemd/system/vboxvmservice@.service; enabled;
vendor preset: disabled)
>    Active: failed (Result: exit-code) since Thu 2015-10-01 12:02:49 CEST;
4 days ago
>  Main PID: 15101 (code=exited, status=0/SUCCESS)
>
> How to mak systemd forget about this service? I checked
/etc/systemd/system/multi-user.target.wants/ and there is no link for my
service.

If I understand correctly, the service file was removed while the service
was 'active' and now systemctl still shows it's status.

A reboot is probably the quickest way to get rid of this "ghost" entry.

Mvg, Guus


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux