diff options
author | Simon Spöhel <simon@spoehel.ch> | 2023-08-23 13:39:17 +0000 |
---|---|---|
committer | Simon Spöhel <simon@spoehel.ch> | 2023-08-24 14:42:33 +0000 |
commit | 1acf6afd66c2d7e9a8a5bff42fd1484187d58426 (patch) | |
tree | e1d024adff12e371b5695b50a27955dfdffda23c /share/systemd/qemu@.service | |
parent | basic cnt rm support. (diff) | |
download | compute-tools-1acf6afd66c2d7e9a8a5bff42fd1484187d58426.tar.xz compute-tools-1acf6afd66c2d7e9a8a5bff42fd1484187d58426.zip |
Basic unifid start.
Diffstat (limited to 'share/systemd/qemu@.service')
-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 |