emersion / bups

Simple GUI for Bup, a very efficient backup system.
MIT License
95 stars 8 forks source link

bups systemd timer won't load #15

Closed jvonhoff closed 8 years ago

jvonhoff commented 8 years ago

trying to do systemctl start bups.timer kept failing. Turns out, the bups.service can't start because ExecStart was being ignored. I think it was getting ignored because of this line:

[/etc/systemd/system/bups.service:6] Executable path is not absolute, ignoring: python2 /usr/lib/python2.7/site-packages/bups/scheduler_worker.py /home/jeremy/.config/bups/config.json > /usr/lib/python2.7/site-packages/bups/scheduler-log.log 2>&1

bups.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

I changed python2 to be /sbin/python2 and it seems to be working for me.

emersion commented 8 years ago

Thanks for reporting this issue! Related to #16