Update fish shell script for restart-docker
This commit is contained in:
parent
dc4b774257
commit
147afbd43e
1 changed files with 4 additions and 1 deletions
|
@ -44,6 +44,9 @@
|
||||||
find secrets -name "*.yaml" -exec sops updatekeys {} \;
|
find secrets -name "*.yaml" -exec sops updatekeys {} \;
|
||||||
'';
|
'';
|
||||||
restart-docker = ''
|
restart-docker = ''
|
||||||
|
if [ (hostname) = "nuc-server" ]
|
||||||
|
pushd /Storage/Data/docker-compose/ifargle.com/
|
||||||
|
else
|
||||||
pushd /Storage/Data/docker-compose/sysctl.io/
|
pushd /Storage/Data/docker-compose/sysctl.io/
|
||||||
docker stop $argv
|
docker stop $argv
|
||||||
docker rm $argv
|
docker rm $argv
|
||||||
|
|
Loading…
Reference in a new issue