dev-python/agate: Bump to 1.13.0
[gentoo/gentoo.git] / sys-apps / kexec-tools / files / kexec.service
blob289aae0df0b1d6d899ca7a6cb51928e49db93139
1 [Unit]
2 Description=Gracefully restart the box
3 Documentation=man:kexec(8)
4 After=boot.mount
5 Before=shutdown.target umount.target final.target
6 ConditionPathExists=!/nokexec
8 [Service]
9 Type=oneshot
10 RemainAfterExit=yes
11 EnvironmentFile=/etc/kexec.conf
12 ExecStart=/usr/sbin/kexec -l /boot/${KNAME} ${KEXEC_OPT_ARGS}
13 ExecStop=/usr/sbin/kexec -l /boot/${KNAME} ${KEXEC_OPT_ARGS}
15 [Install]
16 WantedBy=multi-user.target