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