News for hackers. Stuff that matters.
Re:Systemd-homed merged as a fundamental change to Linux hom... by mbreedlove on Friday January 31, 2020 @06:45PM (#22207177)
Yep, I wanted to create a systemd timer to run my nightly backups.

I was pretty shocked that I needed to have three files. My backup script, a systemd service to call the backup script, and a systemd timer to call my systemd service that calls my backup script.

It took A LOT of fiddling and reading the Arch wiki before I had everything working as I wanted it to.

Re:Systemd-homed merged as a fundamental change to Linux hom... by markandrewj on Friday January 31, 2020 @07:27PM (#22207460)
I have also set up timers in Arch, and it wasn't that bad...
Re:Systemd-homed merged as a fundamental change to Linux hom... by catalogia on Saturday February 01, 2020 @11:32PM (#22215147)
Really? How did you do it then?
Re:Systemd-homed merged as a fundamental change to Linux hom... by markandrewj on Sunday February 02, 2020 @01:24PM (#22218406)
https://wiki.archlinux.org/index.php/Systemd/Timers

You can also find more documentation on the official systemd website, or Gentoo, CoreOS, and RedHat's website.

As an example: https://wiki.gentoo.org/wiki/Systemd#Timer_services

Re:Systemd-homed merged as a fundamental change to Linux hom... by catalogia on Sunday February 02, 2020 @06:56PM (#22220346)
I'm confused, unless I'm missing something, both of those pages seem to describe exactly the process mbreedlove described:

    1) create systemd service to call your script
    2) create a systemd timer to call that service
What did you do differently?
Re:Systemd-homed merged as a fundamental change to Linux hom... by markandrewj on Sunday February 02, 2020 @07:01PM (#22220377)
I didn't say I did anything different, I said it wasn't that difficult.