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,7 +44,10 @@
|
|||
find secrets -name "*.yaml" -exec sops updatekeys {} \;
|
||||
'';
|
||||
restart-docker = ''
|
||||
pushd /Storage/Data/docker-compose/sysctl.io/
|
||||
if [ (hostname) = "nuc-server" ]
|
||||
pushd /Storage/Data/docker-compose/ifargle.com/
|
||||
else
|
||||
pushd /Storage/Data/docker-compose/sysctl.io/
|
||||
docker stop $argv
|
||||
docker rm $argv
|
||||
git pull
|
||||
|
|
Loading…
Reference in a new issue