Reply to post: Re: I've forgotten...

Systemd adds filesystem mount tool

John Hughes

Re: I've forgotten...

Was it just that init scripts were human readable?

Init scripts are readable? What planet are you writing from?

Have you ever seen a systemd unit file? This is unreadable?

[Unit]

Description=OpenBSD Secure Shell server

After=network.target auditd.service

ConditionPathExists=!/etc/ssh/sshd_not_to_be_run

[Service]

EnvironmentFile=-/etc/default/ssh

ExecStart=/usr/sbin/sshd -D $SSHD_OPTS

ExecReload=/bin/kill -HUP $MAINPID

KillMode=process

Restart=on-failure

RestartPreventExitStatus=255

Type=notify

[Install]

WantedBy=multi-user.target

Alias=sshd.service

I'm not going to include the 174 line shell script this replaces (that sources various other shell scripts).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019