Files
homelab-infra/hosts/home-morefine/systemd/sops/sops-install-oneoff.sh

9 lines
402 B
Bash

sudo install -D -m 0644 systemd/sops-decrypt.service /etc/systemd/system/sops-decrypt.service
sudo install -D -m 0644 systemd/docker.service.d/10-sops-decrypt.conf /etc/systemd/system/docker.service.d/10-sops-decrypt.conf
# сам скрипт
sudo install -D -m 0755 systemd/sops-decrypt-all /usr/local/bin/sops-decrypt-all
sudo systemctl daemon-reload
sudo systemctl enable sops-decrypt.service