File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ Wants=network-online.target
66
77[Service]
88Type =oneshot
9+ Environment ="CF_API_TOKEN_FILE=%h/.config/cloudflare/credentials"
10+ # Add Homebrew to PATH (Linux Homebrew location)
11+ Environment ="PATH=/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
912
10- # Run the DDNS update script
11- # Note: Script will source credentials internally
12- ExecStart =/bin/bash -c 'source %h/.config/cloudflare/credentials && %h/src/tfmalt/utility-scripts/scripts/cloudflare-ddns.sh'
13-
14- # Basic security hardening (compatible with user services)
15- PrivateTmp =yes
13+ # Run the DDNS update script with explicit bash and sourcing
14+ ExecStart =/bin/bash -c 'set -a; source ${CF_API_TOKEN_FILE}; set +a; exec %h/src/tfmalt/utility-scripts/scripts/cloudflare-ddns.sh'
1615
1716# Logging
1817StandardOutput =journal
You can’t perform that action at this time.
0 commit comments