annotate usr/lib/systemd/system/libvirt-minion@.service @ 1:0279d995d493

Fixed systemd dependencies
author andrei <andrei@nap21.upri>
date Tue, 15 Nov 2016 11:58:42 +0300
parents cd5df456ee84
children 7b132bac6d4d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
1 [Unit]
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
2 Description=Suspend/Resume running libvirt %I domain
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
3 Requires=libvirtd.service
1
0279d995d493 Fixed systemd dependencies
andrei <andrei@nap21.upri>
parents: 0
diff changeset
4 Requires=libvirt-guests.service
0
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
5 After=network.target
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
6 After=time-sync.target
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
7 After=libvirtd.service
1
0279d995d493 Fixed systemd dependencies
andrei <andrei@nap21.upri>
parents: 0
diff changeset
8 After=libvirt-guests.service
0
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
9 Before=libvirt-minions.service
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
10
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
11 [Service]
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
12 ExecStart=/usr/lib/minions/minions.pl start %I
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
13 ExecStop=/usr/lib/minions/minions.pl stop %I
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
14 Type=oneshot
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
15 RemainAfterExit=yes
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
16 StandardOutput=journal+console
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
17 TimeoutStopSec=0
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
18
cd5df456ee84 Initial working version of minions.pl ans sysyemd units
cin
parents:
diff changeset
19 [Install]
1
0279d995d493 Fixed systemd dependencies
andrei <andrei@nap21.upri>
parents: 0
diff changeset
20 WantedBy=multi-user.target