diff options
author | Erich Eckner <git@eckner.net> | 2021-01-10 10:15:30 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-01-10 10:15:30 +0100 |
commit | 969e4226596a656ba7068ec89398fa4c092606de (patch) | |
tree | 7c29cdf396438d768a0703203c38f33ed39046f5 /bareos | |
parent | b796759b9cf512b960c6a085da720df44a359bc3 (diff) | |
download | archlinuxewe-969e4226596a656ba7068ec89398fa4c092606de.tar.xz |
bareos: remove "StandardOutput=syslog" from systemd service files - it is obsolete
Diffstat (limited to 'bareos')
-rw-r--r-- | bareos/PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD index f6911d407..99ac65b27 100644 --- a/bareos/PKGBUILD +++ b/bareos/PKGBUILD @@ -24,7 +24,7 @@ pkgname=("${pkgbase}-common" "${pkgbase}-storage-python-plugin") pkgver=20.0.0 -pkgrel=1 +pkgrel=2 arch=(x86_64 i486 i686 pentium4 armv6h armv7h aarch64) groups=('bareos') pkgdesc="Bareos - Backup Archiving REcovery Open Sourced" @@ -125,6 +125,7 @@ build() { # Currently upstream systemd file does not automatically create run directory for _daemon in 'dir' 'fd' 'sd'; do sed -i ' + /^StandardOutput=syslog$/d /\[Service\]/a RuntimeDirectory=bareos/'"${_daemon}"' s@^\(WorkingDirectory=\).*$@\1/run/bareos/'"${_daemon}"'@ s@^\(PIDFile=\).*/\([^/]\+\)$@\1/run/bareos/'"${_daemon}"'/\2@ |