summarylogtreecommitdiffstats
path: root/bitcoin-core-01-systemd-sysusers.hook
diff options
context:
space:
mode:
authorAndy Weidenbaum2018-03-31 21:28:44 -0400
committerAndy Weidenbaum2018-03-31 21:28:44 -0400
commit1eb0c0ab812430d8ee012a74da04a14002b8d9e7 (patch)
tree178092b69330276e533039e4f91b390e5a9247d0 /bitcoin-core-01-systemd-sysusers.hook
parent28728f224e869cc6fadec60f08b0367f34916be1 (diff)
downloadaur-1eb0c0ab812430d8ee012a74da04a14002b8d9e7.tar.gz
increment pkgrel to 3; pacman hooks
Diffstat (limited to 'bitcoin-core-01-systemd-sysusers.hook')
-rw-r--r--bitcoin-core-01-systemd-sysusers.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitcoin-core-01-systemd-sysusers.hook b/bitcoin-core-01-systemd-sysusers.hook
new file mode 100644
index 000000000000..1e16df5f7fbf
--- /dev/null
+++ b/bitcoin-core-01-systemd-sysusers.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = bitcoin-core
+
+[Action]
+Description = Adding bitcoin daemon user...
+Depends = systemd
+When = PostTransaction
+Exec = /usr/bin/systemd-sysusers /usr/lib/sysusers.d/bitcoin.conf