summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMidAutumnMoon2022-02-13 15:28:53 +0800
committerMidAutumnMoon2022-02-13 15:28:53 +0800
commit8c9c54cf4d0a8db330c56ed32a85e9e8b157f8da (patch)
treef5e0e578380d85a90cfeeac57b9acf5f6e3f6ba9
parent678477bbae71e5c41eaf76de7f227a2acbb69701 (diff)
downloadaur-8c9c54cf4d0a8db330c56ed32a85e9e8b157f8da.tar.gz
tweak service file a bit
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--agate@.service26
3 files changed, 17 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 013a2549ee2b..cd670f71bfa2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = agate-bin
pkgdesc = Very simple server for the Gemini hypertext protocol
pkgver = 3.2.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mbrubeck/agate
arch = x86_64
arch = aarch64
@@ -14,7 +14,7 @@ pkgbase = agate-bin
source = agate@.service
source = agate.conf
source = agate.sysusers
- sha256sums = 3d521d3417774312370a74869cc612e5a5d449793d78ed3649e7acf81b2080a6
+ sha256sums = b2d37796a177586afa015056b1f525b0228d87d9defbbbf4dbb275101ef6595a
sha256sums = 2281a345cd0e70f275e7630fb585eac94938d97a80f1db12f048a7cbb0e6c253
sha256sums = 3ae91c3090f65bc95b7dee277e357061408560c468546e50f5acc6e58b3f1042
source_x86_64 = https://github.com/mbrubeck/agate/releases/download/v3.2.3/agate.x86_64-unknown-linux-gnu.gz
diff --git a/PKGBUILD b/PKGBUILD
index 39635e5e2603..23aae02acd42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=agate-bin
pkgver=3.2.3
-pkgrel=1
+pkgrel=2
pkgdesc="Very simple server for the Gemini hypertext protocol"
arch=( 'x86_64' 'aarch64' 'armv6h' 'armv7h' )
url="https://github.com/mbrubeck/agate"
@@ -19,7 +19,7 @@ source_armv6h=( https://github.com/mbrubeck/agate/releases/download/v${pkgver}/a
source_armv7h=( https://github.com/mbrubeck/agate/releases/download/v${pkgver}/agate.armv7-unknown-linux-gnueabihf.gz )
sha256sums=(
- '3d521d3417774312370a74869cc612e5a5d449793d78ed3649e7acf81b2080a6'
+ 'b2d37796a177586afa015056b1f525b0228d87d9defbbbf4dbb275101ef6595a'
'2281a345cd0e70f275e7630fb585eac94938d97a80f1db12f048a7cbb0e6c253'
'3ae91c3090f65bc95b7dee277e357061408560c468546e50f5acc6e58b3f1042'
)
diff --git a/agate@.service b/agate@.service
index 222d9b363275..54e17e781da4 100644
--- a/agate@.service
+++ b/agate@.service
@@ -1,20 +1,20 @@
[Unit]
-Description=Very simple server for the Gemini hypertext protocol.
-Wants=network-online.target
-After=network-online.target
+Description = Very simple server for the Gemini hypertext protocol.
+Wants = network-online.target
+After = network-online.target
[Service]
-Type=simple
-User=agate
-EnvironmentFile=/etc/agate/%i
-ExecStart=/usr/bin/agate $CONTENT $CERT $ADDR $HOSTNAME $LANG $OTHERS
+Type = simple
+User = agate
+EnvironmentFile = /etc/agate/%i
+ExecStart = /usr/bin/agate $CONTENT $CERT $ADDR $HOSTNAME $LANG $OTHERS
-Restart=always
-RestartSec=1
+Restart = always
+RestartSec = 1
-StandardOutput=syslog
-StandardError=syslog
-SyslogIdentifier=gemini
+StandardOutput = journal
+StandardError = journal
+SyslogIdentifier = gemini
[Install]
-WantedBy=multi-user.target
+WantedBy = multi-user.target