diff options
author | tdro <tdro@users.noreply.github.com> | 2020-06-04 19:12:04 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-06-04 19:12:04 -0400 |
commit | efb53e8650536ef3ccb0e82dd9c92ebc86960cd2 (patch) | |
tree | fe77158b44fd7d8598cd1da8655cce2710f582c6 /.bashrc | |
parent | a553751ff84163fe05e681b0e79868774a4c1ca1 (diff) | |
download | dotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.tar.gz dotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.tar.bz2 dotfiles-efb53e8650536ef3ccb0e82dd9c92ebc86960cd2.zip |
.bashrc: lxc-restart kill
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |