diff options
Diffstat (limited to 'update.sh')
| -rwxr-xr-x | update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,10 +113,10 @@ update_services() { # Generate service files with correct paths (like setup.sh does) sed -e "s|ExecStart=/path/to/be/replaced/restic_backup.sh|ExecStart=$install_dir/restic_backup.sh|" \ - -e "s|# Environment variable will be set by setup.sh based on scope|Environment=\"RESTIC_ENV_FILE=$env_file\"|" \ + -e "s|Environment=\"RESTIC_ENV_FILE=/path/to/be/replaced\"|Environment=\"RESTIC_ENV_FILE=$env_file\"|" \ systemd/restic-backup.service >"$systemd_dir/restic-backup.service" sed -e "s|ExecStart=/path/to/be/replaced/restic_check.sh|ExecStart=$install_dir/restic_check.sh|" \ - -e "s|# Environment variable will be set by setup.sh based on scope|Environment=\"RESTIC_ENV_FILE=$env_file\"|" \ + -e "s|Environment=\"RESTIC_ENV_FILE=/path/to/be/replaced\"|Environment=\"RESTIC_ENV_FILE=$env_file\"|" \ systemd/restic-check.service >"$systemd_dir/restic-check.service" # Copy timer files directly |
