view usr/lib/systemd/system/libvirt-minion@.service @ 2:1221aa2bdede

Fixed systemd dependencies
author andrei <andrei@nap21.upri>
date Tue, 15 Nov 2016 12:03:57 +0300
parents 0279d995d493
children 7b132bac6d4d
line wrap: on
line source

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

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

[Install]
WantedBy=multi-user.target