On Sun, Apr 14, 2019 at 05:20:08PM +0200, Alec Leamas wrote:
> On 14/04/2019 16:22, Adam Borowski wrote:
> > Hi!
> > The auto-update functionality is for some reason systemd only, despite not
> > actually using any systemd features.  This makes it broken on any other
> > init/rc system for no gain.
> > 
> > Could you please convert the .service/.timer to a init script and/or cron
> > job?
> > 
> Anything is possible but... in this case ddupdate installs as a user program
> without anything running as root. Things like cron or init scripts are
> requires root permissions

It's same as for systemd, which also runs as root -- only the syntax is
different.  There's "runuser"; on a default install exim4 and popcon use it.

> And, cron jobs are nowhere as flexible as systemd timers.

You have two timers: one every 1h (the usual cron way), and another 2min
after boot.  What's the point of the second if you already have an oneshot
service?

> OTOH, it would of course be possible to add alternative solutions like cron
> jobs to the package. This would requires patches to ddupdate-config, but
> should otherwise be trivial. But to be honest, I'm more in a "patches
> welcome" state on this -- I'm just not motivated to make such fixes myself.

I don't use ddupdate myself anymore (I don't even remember if I used
ddupdate or one of the alternatives), thus it might be more for an actual
user.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Did ya know that typing "test -j8" instead of "ctest -j8"
⢿⡄⠘⠷⠚⠋⠀ will make your testsuite pass much faster, and fix bugs?
⠈⠳⣄⠀⠀⠀⠀

Reply via email to