summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Natalenko2020-04-19 12:45:18 +0200
committerOleksandr Natalenko2020-04-19 12:45:29 +0200
commit954b6b156e6fdcbadf5b6149253ef12d43a84677 (patch)
tree2af58a2b9ba3f5a815c1ebb199c85707200c6d05
parent28f128da9e9439e1c72503230c9a0f2998c94d3d (diff)
downloadaur-954b6b156e6fdcbadf5b6149253ef12d43a84677.tar.gz
trigger dependent units without need to enable them
Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--bandwidthd-rotate.timer1
-rw-r--r--bandwidthd-webui.service1
-rw-r--r--bandwidthd.service2
5 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfe7d8ccf4b..158d25c09c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bandwidthd
pkgdesc = Daemon for graphing traffic of subnet machines
pkgver = 2.0.2.r1.0307fbba56
- pkgrel = 9
+ pkgrel = 10
epoch = 1
url = https://github.com/neatbasis/bandwidthd
arch = x86_64
@@ -32,10 +32,10 @@ pkgbase = bandwidthd
sha256sums = 88c38a18b7bda6f3496dda3030ba118f8c461447dea426c13245099ae37a6d86
sha256sums = be5fa230311258f14d4af6a00496443bfbc1a148a77f237bb4a0b663947e090a
sha256sums = fc38a5623e66d82dec2efd28d2729e76e8f3b6056fb2bc2462a1ea1549f68807
- sha256sums = 89c13a354ec9f9d913d82d21989bfbc90de6c15eff98697f7043142ae02f0fbf
- sha256sums = 0290183d1e682eff11b88f4cc0ce5ee361db2a97a36300ab46a64c72fde9ae12
+ sha256sums = 9c1cd09515073875438dc75fa0919cf6654dd1bd6398dbbb3772b990f515e71f
+ sha256sums = 4e9f265d8cb2f23a5458afae61a8f88377ddc9ee31fa42b38a4062f0ffe426e1
sha256sums = cd7b1ffff5dd9490ab69d777e459d79c229d5fef2e71a811df29f6c11e6acde4
- sha256sums = 31780d5d9c67158277a0edeeb672c594af97f96678222107db47ab4b2ede43b2
+ sha256sums = 73637c20e8e13f69efdfa58460dc8aa61478a3adb5c72927686adbbc524c468d
sha256sums = 7526f4baa5e2e66f87647f876a0b3a4c766ed7d7489ae801e85608338c85a782
sha256sums = d734cea9710691a1658b9996e35cd407e85b542aa0961aec57fc49281516aa5d
sha256sums = 6c9e5bf89ecb580261a5a68ac240bd80ee43a7516c79023864acacbd8cee0ae2
diff --git a/PKGBUILD b/PKGBUILD
index 434eaf72368..bee7c022feb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _repouser=neatbasis
_reponame=bandwidthd
_rev=0307fbba56a39a6e65ebadf488ad87979c64fdef
pkgver=2.0.2.r1.${_rev:0:10}
-pkgrel=9
+pkgrel=10
epoch=1
pkgdesc="Daemon for graphing traffic of subnet machines"
arch=(x86_64)
@@ -33,10 +33,10 @@ sha256sums=('7e8ebf7e2eeb5266af904a8f7188b11d5a13ebb0343022c2a118b86f48a952e4'
'88c38a18b7bda6f3496dda3030ba118f8c461447dea426c13245099ae37a6d86'
'be5fa230311258f14d4af6a00496443bfbc1a148a77f237bb4a0b663947e090a'
'fc38a5623e66d82dec2efd28d2729e76e8f3b6056fb2bc2462a1ea1549f68807'
- '89c13a354ec9f9d913d82d21989bfbc90de6c15eff98697f7043142ae02f0fbf'
- '0290183d1e682eff11b88f4cc0ce5ee361db2a97a36300ab46a64c72fde9ae12'
+ '9c1cd09515073875438dc75fa0919cf6654dd1bd6398dbbb3772b990f515e71f'
+ '4e9f265d8cb2f23a5458afae61a8f88377ddc9ee31fa42b38a4062f0ffe426e1'
'cd7b1ffff5dd9490ab69d777e459d79c229d5fef2e71a811df29f6c11e6acde4'
- '31780d5d9c67158277a0edeeb672c594af97f96678222107db47ab4b2ede43b2'
+ '73637c20e8e13f69efdfa58460dc8aa61478a3adb5c72927686adbbc524c468d'
'7526f4baa5e2e66f87647f876a0b3a4c766ed7d7489ae801e85608338c85a782'
'd734cea9710691a1658b9996e35cd407e85b542aa0961aec57fc49281516aa5d'
'6c9e5bf89ecb580261a5a68ac240bd80ee43a7516c79023864acacbd8cee0ae2')
diff --git a/bandwidthd-rotate.timer b/bandwidthd-rotate.timer
index ba338c07f46..2025123bfa1 100644
--- a/bandwidthd-rotate.timer
+++ b/bandwidthd-rotate.timer
@@ -1,7 +1,6 @@
[Unit]
Description=Daemon for graphing traffic of subnet machines - Rotate
PartOf=bandwidthd.service
-After=bandwidthd.service
[Timer]
OnCalendar=*-*-* 00:00:00
diff --git a/bandwidthd-webui.service b/bandwidthd-webui.service
index 919fb42d524..1486f316efa 100644
--- a/bandwidthd-webui.service
+++ b/bandwidthd-webui.service
@@ -1,7 +1,6 @@
[Unit]
Description=Daemon for graphing traffic of subnet machines - Web UI
PartOf=bandwidthd.service
-After=bandwidthd.service
[Service]
User=bandwidthd
diff --git a/bandwidthd.service b/bandwidthd.service
index 24d3d370caa..f9f4675eb99 100644
--- a/bandwidthd.service
+++ b/bandwidthd.service
@@ -1,6 +1,6 @@
[Unit]
Description=Daemon for graphing traffic of subnet machines
-Requires=network-online.target
+Requires=network-online.target bandwidthd-rotate.timer bandwidthd-webui.service
[Service]
User=bandwidthd