view usr/lib/systemd/system/libvirt-minions.service @ 3:7b132bac6d4d

Fixed systemd dependencies
author andrei <andrei@nap21.upri>
date Tue, 15 Nov 2016 12:11:55 +0300
parents 1221aa2bdede
children
line wrap: on
line source

[Unit]
Description=Suspend/Resume running libvirt guests
Requires=libvirtd.service
Requires=libvirt-guests.service
After=network.target
After=time-sync.target
After=libvirtd.service
After=libvirt-guests.service

[Service]
ExecStart=/usr/lib/minions/minions.pl start
ExecStop=/usr/lib/minions/minions.pl stop
Type=oneshot
RemainAfterExit=yes
StandardOutput=journal+console
TimeoutStopSec=0

[Install]
WantedBy=multi-user.target