I\'m trying to set up a simple systemd timer to run a bash script every day at midnight.
systemctl --user status backup.service fails and logs the follo
systemctl --user status backup.service
When this happened to me it was because my script had DOS line endings, which always messes up the shebang line at the top of the script. I changed it to Unix line endings and it worked.