Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Clean up Docker volumes and processes
- DefaultDependencies=no
- Before=shutdown.target reboot.target
- [Service]
- Type=oneshot
- ExecStart=/bin/true
- ExecStop=/bin/sh /var/lock/subsys/umountdocker stop
- RemainAfterExit=yes
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement