View Single Post
Posts: 4 | Thanked: 1 time | Joined on Apr 2015
#11
Does no more, no less, than what it should, great app.

I understand harbour apps cannot autostart, but I was thinking maybe it would be possible to be done manually with systemd. No success so far.

I created a .service file

/etc/systemd/system/batteryoverlay.service
Code:
[Unit]
Description=Start Battery Overlay

[Service]
ExecStart=/usr/bin/harbour-batteryoverlay

[Install]
WantedBy=multi-user.target
Tried enabling it, then reboot, but it fails.
As a second attempt I created a .timer for it.

/etc/systemd/system/batteryoverlay.timer
Code:
[Unit]
Description=Start Battery Overlay

[Timer]
OnStartupSec=45

[Install]
WantedBy=multi-user.target
After disabling the service, enabling the timer + reboot, it still fails.
Being new to systemd I'm probably missing something, but maybe someone can improve this approach.