Re: libvirtd - save shutdown and systemd

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



Op 13 mei 2013 21:12 schreef "Jameson" <imntreal@xxxxxxxxx> het volgende:
>
> On Wed, May 8, 2013 at 5:52 PM, Guus Snijders <gsnijders@xxxxxxxxx> wrote:
> > So at least one way would be place a script that calls
> > "/etc/rc.d/libvirtd-guests stop" (or equivalent, it's not hard to
replace)
> > in /etc/systemd/system-shutdown/ . My main question is if this would be
a
> > "correct" way or that i could better write some custom unit file to do
this?
> > The tricky part is that i am /not/ interested in an automatic resume of
> > previously running guests, only saving them in case i forgot.
>
> I'm not sure if it's of any help, but there is already a
> /lib/systemd/system/libvirt-guests.service unit that calls
> /etc/rc.d/libvirtd-guests.

Thanks, but my main question how i can best enable that service on
shutdown/reboot etc scenarios.
I prefer to not have enabled on startup (if possible).

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