summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.sh14
-rw-r--r--config-parabola-box-proton-base.PKGBUILD3
-rw-r--r--config-parabola-box-winston-base.PKGBUILD3
3 files changed, 10 insertions, 10 deletions
diff --git a/common.sh b/common.sh
index de27a54..62af7fa 100644
--- a/common.sh
+++ b/common.sh
@@ -7,14 +7,12 @@ pkgname=$(basename "$BUILDFILE" .PKGBUILD)
netctl-enable() (
. "etc/netctl/$1"
unit=netctl@"$(systemd-escape -- "$1")".service
- install -Dm644 /dev/stdin etc/systemd/system/"${unit}" <<EOF
-.include /usr/lib/systemd/system/netctl@.service
-
-[Unit]
-Description=${Description}
-BindsTo=sys-subsystem-net-devices-${Interface}.device
-After=sys-subsystem-net-devices-${Interface}.device
-EOF
+ install -Dm644 /dev/stdin etc/systemd/system/"${unit}.d"/profile.conf <<-EOF
+ [Unit]
+ Description=${Description}
+ BindsTo=sys-subsystem-net-devices-${Interface}.device
+ After=sys-subsystem-net-devices-${Interface}.device
+ EOF
add-unit etc/systemd/system/multi-user.target.wants/"$unit"
)
diff --git a/config-parabola-box-proton-base.PKGBUILD b/config-parabola-box-proton-base.PKGBUILD
index e7b314e..8ed6f23 100644
--- a/config-parabola-box-proton-base.PKGBUILD
+++ b/config-parabola-box-proton-base.PKGBUILD
@@ -1,8 +1,9 @@
. ${BUILDFILE%/*}/common.sh
-pkgver=20180826.1
+pkgver=20180909
package() {
preamble
+pkgdesc="Parabola server configuration: proton.parabola.nu base configuration"
depends+=(config-parabola-box-base)
diff --git a/config-parabola-box-winston-base.PKGBUILD b/config-parabola-box-winston-base.PKGBUILD
index cf60cba..334d6c1 100644
--- a/config-parabola-box-winston-base.PKGBUILD
+++ b/config-parabola-box-winston-base.PKGBUILD
@@ -1,8 +1,9 @@
. ${BUILDFILE%/*}/common.sh
-pkgver=20180826.1
+pkgver=20180909
package() {
preamble
+pkgdesc="Parabola server configuration: winston.parabola.nu base configuration"
depends+=(config-parabola-box-base)