diff options
Diffstat (limited to 'lxc.service')
-rw-r--r-- | lxc.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lxc.service b/lxc.service new file mode 100644 index 000000000000..4c0c34e3ea15 --- /dev/null +++ b/lxc.service @@ -0,0 +1,11 @@ +[Unit] +Description=%i LXC +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/lxc-start -d -n %i +ExecStop=/usr/bin/lxc-stop -n %i + +[Install] +WantedBy=multi-user.target |