X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=commands;h=531e973e0e1113565f74515476418e10aeb92be9;hb=e7cfad3ebfe5d251e3e9c9d5cc231ad2bd29e908;hp=6f6d00d7d19d1e7b74010adc4996e1b10db61b6b;hpb=dd450b194c25fd26d9f81da1fbb4d49d650f9847;p=infra.git diff --git a/commands b/commands index 6f6d00d..531e973 100755 --- a/commands +++ b/commands @@ -57,9 +57,9 @@ if [[ $com == "update certs" || $com == "force update certs" ]]; then rmdir $folder elif [[ $com == "reload certs" ]]; then sudo puppet apply /etc/puppet/code/environments/production/manifests --verbose - sudo lxc-attach -n front-nginx -- puppet agent --verbose --test - sudo lxc-attach -n quiz -- puppet agent --verbose --test - sudo lxc-attach -n gigi -- puppet agent --verbose --test + sudo lxc-attach -n front-nginx -- puppet agent --verbose --onetime --no-daemonize + sudo lxc-attach -n quiz -- puppet agent --verbose --onetime --no-daemonize + sudo lxc-attach -n gigi -- puppet agent --verbose --onetime --no-daemonize elif [[ $com == "update crls" ]]; then if ! tar xv -C /data/crl; then echo "requiring tar"