Gentoo Archives: gentoo-commits

From: Wolfram Schlich <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
Date: Mon, 01 Feb 2016 06:36:44
Message-Id: 1454308578.649e20fe8f1ed9e6b387d97e72727349615fa8c6.wschlich@gentoo
1 commit: 649e20fe8f1ed9e6b387d97e72727349615fa8c6
2 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 1 06:36:18 2016 +0000
4 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 06:36:18 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/wschlich.git/commit/?id=649e20fe
7
8 app-antivirus/skyldav: make skyldav service being started before skyldavnotify in X sessions (multi-user.target)
9
10 Package-Manager: portage-2.2.27
11
12 app-antivirus/skyldav/files/{skyldav.service => skyldav.service-r1} | 1 +
13 app-antivirus/skyldav/{skyldav-0.5.ebuild => skyldav-0.5-r1.ebuild} | 2 +-
14 2 files changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/app-antivirus/skyldav/files/skyldav.service b/app-antivirus/skyldav/files/skyldav.service-r1
17 similarity index 93%
18 rename from app-antivirus/skyldav/files/skyldav.service
19 rename to app-antivirus/skyldav/files/skyldav.service-r1
20 index 8d8ee5e..decd788 100644
21 --- a/app-antivirus/skyldav/files/skyldav.service
22 +++ b/app-antivirus/skyldav/files/skyldav.service-r1
23 @@ -2,6 +2,7 @@
24 Description=SkyldAV anti-virus on-access scanning daemon based upon Clam AV and fanotify
25 Requires=local-fs.target clamd.service
26 After=local-fs.target clamd.service
27 +Before=multi-user.target
28
29 [Service]
30 Type=simple
31
32 diff --git a/app-antivirus/skyldav/skyldav-0.5.ebuild b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
33 similarity index 97%
34 rename from app-antivirus/skyldav/skyldav-0.5.ebuild
35 rename to app-antivirus/skyldav/skyldav-0.5-r1.ebuild
36 index ddefa93..3175fc8 100644
37 --- a/app-antivirus/skyldav/skyldav-0.5.ebuild
38 +++ b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
39 @@ -88,7 +88,7 @@ src_install() {
40
41 ## install systemd service or OpenRC init scripts
42 if use systemd; then
43 - systemd_dounit "${FILESDIR}/skyldav.service"
44 + systemd_newunit "${FILESDIR}/skyldav.service-r1" skyldav.service
45 systemd_install_serviced "${FILESDIR}"/skyldav.service.conf
46 systemd_newtmpfilesd "${FILESDIR}"/skyldav.tmpfilesd skyldav.conf
47 else