kpatch/contrib/kpatch.service
Seth Jennings 743f70f002 use PREFIX for absolute path in service unit
Signed-off-by: Seth Jennings <sjenning@redhat.com>
2015-06-03 08:47:14 -05:00

12 lines
212 B
Desktop File

[Unit]
Description="Apply kpatch kernel patches"
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=PREFIX/sbin/kpatch load --all
ExecStop=PREFIX/sbin/kpatch unload --all
[Install]
WantedBy=multi-user.target