Fixing a systemd service 203/EXEC failure (no such file or directory)

前端 未结 6 2060
时光取名叫无心
时光取名叫无心 2020-12-07 21:46

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

6条回答
  •  鱼传尺愫
    2020-12-07 22:25

    To simplify, make sure to add a hash bang to the top of your ExecStart script, i.e.

    #!/bin/bash
    
    python -u alwayson.py    
    

提交回复
热议问题