diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/systemd/kvm@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/share/systemd/kvm@.service b/share/systemd/kvm@.service new file mode 100644 index 0000000..41fea21 --- /dev/null +++ b/share/systemd/kvm@.service @@ -0,0 +1,13 @@ +[Unit] +Description="Container: %i" +Documentation=man:compute-tools + +[Service] +Type=simple +ExecStart=/usr/bin/container start-qemu -n %i --nspawn +ExecStartPost=/usr/bin/container start-qemu -n %i --start +#ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification +KillMode=mixed + +[Install] +WantedBy=multi-user.target |