2 ms·
Here is the systemd unit for comparison: [Unit] Description=OpenBSD Secure Shell server per-connection daemon After=auditd.service [Service] Environ
by Aeolos 3y ago
Here is the systemd unit for comparison:
[Unit]
Description=OpenBSD Secure Shell server per-connection daemon
After=auditd.service
[Service]
EnvironmentFile=/etc/default/ssh
ExecStart=/usr/sbin/sshd -i $SSHD_OPTS
StandardInput=socket
I leave it to the reader to decide which of those two is easier to understand and maintain.
- SoftTalker 3y agoDebatable, but I was mainly reacting to "... rc.d / BSD style init scripts. It was awful. You had all these copy-pasted shell scripts with various gaps in functionality depending on who wrote them." Simply not true in (modern) BSDs, well at least OpenBSD; I'm not familiar with the others.
- dietrichepp 3y agoYeah, maybe it’s not inconsistent any more. But meanwhile, systemd has gotten really nice, even a good version of rc.d seems awful by comparison. I had the same feeling when Apple came out with launchd in 2005. It felt like such a massive improvement over the existing state of things. Systemd also feels like a massive improvement.