Add kill-vboxdrmclient-on-shutdown.service

This commit is contained in:
Aaron Rainbolt 2025-11-09 18:38:54 -06:00
parent 9d86379f56
commit 5fbd42bbec
No known key found for this signature in database
GPG key ID: A709160D73C79109
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,15 @@
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.
[Unit]
Description=kill VBoxDRMClient during shutdown to allow /tmp to be unmounted properly
ConditionVirtualization=oracle
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=true
ExecStop=/usr/libexec/security-misc/kill-vboxdrmclient-on-shutdown
[Install]
WantedBy=multi-user.target