aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-06-04 19:12:04 -0400
committertdro <tdro@users.noreply.github.com>2020-06-04 19:12:04 -0400
commitefb53e8650536ef3ccb0e82dd9c92ebc86960cd2 (patch)
treefe77158b44fd7d8598cd1da8655cce2710f582c6 /.bashrc
parenta553751ff84163fe05e681b0e79868774a4c1ca1 (diff)
downloaddotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.tar.gz
dotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.tar.bz2
dotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.zip
.bashrc: lxc-restart kill
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index ee085e4..1820887 100644
--- a/.bashrc
+++ b/.bashrc
@@ -103,7 +103,7 @@ nix-which() { readlink "$(type -P "$1")"; }
# lxc helpers
lxc-copy() { $(type -P lxc-copy) -n "$1" -N "$2"; }
-lxc-restart() { $(type -P lxc-stop) -n "$1"; $(type -P lxc-start) -n "$1"; }
+lxc-restart() { $(type -P lxc-stop) -kn "$1"; $(type -P lxc-start) -n "$1"; }
lxc-start() { for container in "$@"; do $(type -P lxc-start) -n "$container"; done }
lxc-stop() { for container in "$@"; do $(type -P lxc-stop) -kn "$container"; done }
lxc-destroy() { for container in "$@"; do $(type -P lxc-destroy) -n "$container"; done }