summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-09-17 18:24:49 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-09-17 18:24:49 +0100
commit1d8352a7aa261dd6095822e60ecb036cc62057cc (patch)
tree5e8f2cc04477dd87e1cd0395b28172dd384cc780
parentcc8524960dc415ceca957dcec2e2d424c514b621 (diff)
Update service and sysusersHEADmaster
-rw-r--r--PKGBUILD8
-rw-r--r--stash.service12
-rw-r--r--stash.sysusers2
3 files changed, 11 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 59f1dfc..daa19a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_pkgname=stash
pkgname="${_pkgname}-git"
pkgdesc="Saved articles tracker"
-pkgver=r9.1b7c07d
-pkgrel=1
+pkgver=r10.39a926c
+pkgrel=2
makedepends=('go' 'make' 'git')
arch=('x86_64')
url="https://git.leonardobishop.net/stash/about/"
@@ -16,8 +16,8 @@ source=(stash::git+https://git.leonardobishop.net/stash/
config.yaml
)
sha256sums=('SKIP'
- 'cf9e76a0ff22be285e4e392507310ceba5128f61b973058d9e6b7b5d2e43e50c'
- '2eb21fe51a69bcff17268f476b8e9f059730660cce4eba1325f71dc1393756da'
+ '66650a6b246c4eec5e7ccdcf60b2c7ad52542b31db3b65539dbd77ed130abb85'
+ '69e9dd447ed8287bcca3f2f56cbc9819afb96e25337384d4b285e6988f6b76d4'
'f2f11c1abb5956fb1aa278cb724ff985f033501ed786606c8f85040d74e3007a')
backup=(etc/stash/config.yaml)
diff --git a/stash.service b/stash.service
index 24a1727..f46f945 100644
--- a/stash.service
+++ b/stash.service
@@ -2,12 +2,12 @@
Description=Saved articles tracker
[Service]
-User=history
+User=stash
Restart=always
-ExecStart=/usr/bin/history
-StateDirectory=history
-ConfigurationDirectory=history
-WorkingDirectory=/var/lib/history
+ExecStart=/usr/bin/stash
+StateDirectory=stash
+ConfigurationDirectory=stash
+WorkingDirectory=/var/lib/stash
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
@@ -19,7 +19,7 @@ ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
-ExecPaths=/usr/bin/history
+ExecPaths=/usr/bin/stash
ProtectKernelTunables=true
ProtectKernelModules=true
diff --git a/stash.sysusers b/stash.sysusers
index 51cfc9c..7dd54da 100644
--- a/stash.sysusers
+++ b/stash.sysusers
@@ -1 +1 @@
-u history - "Saved articles tracker" /var/lib/history
+u stash - "Saved articles tracker" /var/lib/stash