view usr/lib/systemd/system/libvirt-minions.service @ 1:0279d995d493

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

[Unit]
Description=Suspend/Resume running libvirt guests
Requires=libvirtd.service
After=network.target
After=time-sync.target
After=libvirtd.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