Skip to content

Commit

Permalink
Remove After=syslog.target from systemd unit files and improve descri…
Browse files Browse the repository at this point in the history
…ptions.

Related systemd documentation:
http://www.freedesktop.org/wiki/Software/systemd/syslog/

"Newer systemd versions (v35+) do not support non-socket-activated
syslog daemons anymore and we do no longer recommend people to order
their units after syslog.target."

Related systemd commit:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=4b7b2efb69943aae0f8287df6e28b637c50fe318

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
  • Loading branch information
saukko committed Apr 14, 2014
1 parent 1d1da69 commit a4f9917
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions rpm/sshd.service
@@ -1,6 +1,5 @@
[Unit]
Description=OpenSSH Daemon
After=syslog.target
Description=OpenSSH server daemon

[Service]
EnvironmentFile=-/etc/ssh/ssh-env.conf
Expand Down
1 change: 1 addition & 0 deletions rpm/sshd.socket
@@ -1,4 +1,5 @@
[Unit]
Description=OpenSSH Server Socket
Conflicts=sshd.service

[Socket]
Expand Down
5 changes: 1 addition & 4 deletions rpm/sshd@.service
@@ -1,6 +1,5 @@
[Unit]
Description=SSH Per-Connection Server
After=syslog.target
Description=OpenSSH per-connection server daemon

[Service]
EnvironmentFile=-/etc/ssh/ssh-env.conf
Expand All @@ -9,5 +8,3 @@ ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
StandardOutput=socket

[Install]
WantedBy=network.target

0 comments on commit a4f9917

Please sign in to comment.