2017-03-14 18:19:18 +00:00
|
|
|
[Unit]
|
2017-05-15 22:05:58 +00:00
|
|
|
Description=Shutdown CRIO containers before shutting down the system
|
2017-05-12 13:36:15 +00:00
|
|
|
Wants=crio.service
|
|
|
|
After=crio.service
|
|
|
|
Documentation=man:crio(8)
|
2017-03-14 18:19:18 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/true
|
2017-05-12 13:36:15 +00:00
|
|
|
ExecStop=mkdir -p /var/lib/crio; touch /var/lib/crio/crio.shutdown
|
2017-03-14 18:19:18 +00:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|