I've been almost convinced by systemd (and have switched to using it), but God the syntax of those service files is so ugly ...
Love systemd timers
11–20 of 309 posts
Re: Love systemd timers
#12Earlier quoted context omitted.
Could have been worse. Could have been YAML. Could have been XML.
XML would have the advantage of having a grammar so we could validate the config files. It would also make it much simpler to make good GUI editors for the files instead of the Notepad approach most unix config files take.
XML is that wonderful format that gave us vulnerabilities like death by million laughs, up to a certain moment, you could MitM DTDs, and a whole slew of everything-XML stuff back when XML was like AI is today, none of which I miss today.
Oh, and remember times when programmers would argue whether argument order in XML files should be significant or not?
But XML books with their idealized XML future description did give me the same warm fuzzies as some intricate clockwork mechanism to a Victorian geek.
Re: Love systemd timers
#13I've been almost convinced by systemd (and have switched to using it), but God the syntax of those service files is so ugly ...
Never thought I'd see hackers saying INI format looked ugly of all things. It's basic, sure, but that's a good thing for something meant to be easily editable by hand from any editor. Otherwise, it's just key value pairs in named sections, how ugly can it be about that?
Re: Love systemd timers
#14Re: Love systemd timers
#15I've been almost convinced by systemd (and have switched to using it), but God the syntax of those service files is so ugly ...
Never thought I'd see hackers saying INI format looked ugly of all things. It's basic, sure, but that's a good thing for something meant to be easily editable by hand from any editor. Otherwise, it's just key value pairs in named sections, how ugly can it be about that?
[Service]
Type=oneshot
WorkingDirectory={{ home }}/current/
Environment=RAILS_ENV=production
ExecStart=/bin/sh -lc "bin/db-backup --verbose"
which fills me with sadnessRe: Love systemd timers
#16Re: Love systemd timers
#17I've been almost convinced by systemd (and have switched to using it), but God the syntax of those service files is so ugly ...
Over all I think Systemd get way to much criticism. You don't have to use all the parts, but if you care to go through the documentation you'll find interesting features such as journald log-shipping and systemd-machined which can manage containers and VMs.
Re: Love systemd timers
#18Earlier quoted context omitted.
Could have been worse. Could have been YAML. Could have been XML.
XML would have the advantage of having a grammar so we could validate the config files. It would also make it much simpler to make good GUI editors for the files instead of the Notepad approach most unix config files take.
Re: Love systemd timers
#19Re: Love systemd timers
#20I've been almost convinced by systemd (and have switched to using it), but God the syntax of those service files is so ugly ...
If I never recall hacking in ulimit calls in the top of buggy shell scripts for crappy old services that done respect pam_limits it won’t be soon enough.