summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2016-02-01 07:36:18 +0100
committerWolfram Schlich <wschlich@gentoo.org>2016-02-01 07:36:18 +0100
commit649e20fe8f1ed9e6b387d97e72727349615fa8c6 (patch)
tree46d1e0f6857ff739e2a2638d7c529ff874cbc3a6
parentdev-perl/Exception-Class-TryCatch: fixes (diff)
downloadwschlich-649e20fe.tar.gz
wschlich-649e20fe.tar.bz2
wschlich-649e20fe.zip
app-antivirus/skyldav: make skyldav service being started before skyldavnotify in X sessions (multi-user.target)
Package-Manager: portage-2.2.27
-rw-r--r--app-antivirus/skyldav/files/skyldav.service-r1 (renamed from app-antivirus/skyldav/files/skyldav.service)1
-rw-r--r--app-antivirus/skyldav/skyldav-0.5-r1.ebuild (renamed from app-antivirus/skyldav/skyldav-0.5.ebuild)2
2 files changed, 2 insertions, 1 deletions
diff --git a/app-antivirus/skyldav/files/skyldav.service b/app-antivirus/skyldav/files/skyldav.service-r1
index 8d8ee5e..decd788 100644
--- a/app-antivirus/skyldav/files/skyldav.service
+++ b/app-antivirus/skyldav/files/skyldav.service-r1
@@ -2,6 +2,7 @@
Description=SkyldAV anti-virus on-access scanning daemon based upon Clam AV and fanotify
Requires=local-fs.target clamd.service
After=local-fs.target clamd.service
+Before=multi-user.target
[Service]
Type=simple
diff --git a/app-antivirus/skyldav/skyldav-0.5.ebuild b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
index ddefa93..3175fc8 100644
--- a/app-antivirus/skyldav/skyldav-0.5.ebuild
+++ b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
@@ -88,7 +88,7 @@ src_install() {
## install systemd service or OpenRC init scripts
if use systemd; then
- systemd_dounit "${FILESDIR}/skyldav.service"
+ systemd_newunit "${FILESDIR}/skyldav.service-r1" skyldav.service
systemd_install_serviced "${FILESDIR}"/skyldav.service.conf
systemd_newtmpfilesd "${FILESDIR}"/skyldav.tmpfilesd skyldav.conf
else