diff --git a/systab b/systab index ceff36c..a28093d 100755 --- a/systab +++ b/systab @@ -294,9 +294,12 @@ OnCalendar=$time_spec EOF if ! is_recurring "$opt_time"; then - echo "Persistent=false" >> "$timer_file" + cat >> "$timer_file" <<'ONETIME' +Persistent=false +RemainAfterElapse=no +ONETIME fi - + cat >> "$timer_file" <> "$SYSTEMD_USER_DIR/${job_name}.timer" + cat >> "$SYSTEMD_USER_DIR/${job_name}.timer" <<'ONETIME' +Persistent=false +RemainAfterElapse=no +ONETIME fi cat >> "$SYSTEMD_USER_DIR/${job_name}.timer" <