Update fish shell script for restart-docker

This commit is contained in:
albert 2024-11-24 18:17:18 +01:00
parent dc4b774257
commit 147afbd43e
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -44,6 +44,9 @@
find secrets -name "*.yaml" -exec sops updatekeys {} \;
'';
restart-docker = ''
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