Shutdown services gracefully

This commit is contained in:
Héctor Molinero Fernández
2021-11-02 19:23:18 +01:00
parent 55587ba1f8
commit 88a1b868a8
4 changed files with 22 additions and 4 deletions

5
scripts/service/qemu/control/t Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
set -eu
printf '%s\n' 'system_powerdown' | nc -U /run/qemu-monitor