# Unit template — the same file is instantiated per daemon with different ExecStart. # Deploy: cp deploy/systemd/cayce-ops@.service /etc/systemd/system/ # systemctl enable --now cayce-ops@scanner.timer [Unit] Description=cayce-ops %i daemon After=network-online.target postgresql.service Wants=network-online.target [Service] Type=oneshot User=cayce WorkingDirectory=/srv/cayce-ops EnvironmentFile=/srv/cayce-ops/.env ExecStart=/srv/cayce-ops/.venv/bin/cayceops %i run NoNewPrivileges=yes ProtectSystem=strict ProtectHome=yes ReadWritePaths=/srv/cayce-ops