commit: 649e20fe8f1ed9e6b387d97e72727349615fa8c6
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 1 06:36:18 2016 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Mon Feb 1 06:36:18 2016 +0000
URL: https://gitweb.gentoo.org/dev/wschlich.git/commit/?id=649e20fe
app-antivirus/skyldav: make skyldav service being started before skyldavnotify
in X sessions (multi-user.target)
Package-Manager: portage-2.2.27
app-antivirus/skyldav/files/{skyldav.service => skyldav.service-r1} | 1 +
app-antivirus/skyldav/{skyldav-0.5.ebuild => skyldav-0.5-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-antivirus/skyldav/files/skyldav.service
b/app-antivirus/skyldav/files/skyldav.service-r1
similarity index 93%
rename from app-antivirus/skyldav/files/skyldav.service
rename to 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
similarity index 97%
rename from app-antivirus/skyldav/skyldav-0.5.ebuild
rename to 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