Skip to content

Commit

Permalink
Drop syslog.target from systemd service definitions.
Browse files Browse the repository at this point in the history
Newer systemd versions implement a internal binary journalling system
which replaces syslog so the syslog.target is no longer available in
newer versions of systemd. So we dropped the dependency on it and hope
that our other dependencies make sure the syslogging is available.

Fixes #203: systemctl start bareos-fd.service fails on Fedora 19
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent aabf1aa commit 41288bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions platforms/systemd/bareos-dir.service.in
Expand Up @@ -14,8 +14,8 @@
[Unit]
Description=Bareos Director Daemon service
Alias=bareos-dir
Requires=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
After=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
Requires=nss-lookup.target network.target remote-fs.target time-sync.target
After=nss-lookup.target network.target remote-fs.target time-sync.target
# Dependency about the database
# We let administrators decide if they need it (if local db instance)
# Wants=@DEFAULT_DB_TYPE@.service
Expand Down
4 changes: 2 additions & 2 deletions platforms/systemd/bareos-fd.service.in
Expand Up @@ -13,8 +13,8 @@
#
[Unit]
Description=Bareos File Daemon service
Requires=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
After=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
Requires=nss-lookup.target network.target remote-fs.target time-sync.target
After=nss-lookup.target network.target remote-fs.target time-sync.target
# Wants=
# Before=
# Conflicts=
Expand Down
4 changes: 2 additions & 2 deletions platforms/systemd/bareos-sd.service.in
Expand Up @@ -13,8 +13,8 @@
#
[Unit]
Description=Bareos Storage Daemon service
Requires=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
After=nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
Requires=nss-lookup.target network.target remote-fs.target time-sync.target
After=nss-lookup.target network.target remote-fs.target time-sync.target
# Wants=
# Before=
# Conflicts=
Expand Down

0 comments on commit 41288bd

Please sign in to comment.