summarylogtreecommitdiffstats
path: root/owamp.install
diff options
context:
space:
mode:
authorLars Christensen2021-02-13 17:05:09 +0100
committerLars Christensen2021-02-13 17:05:09 +0100
commite1c6b08ebc79c1fc967a6568b0cab381e8b50e41 (patch)
tree99cf8e96a253b31827981f4753f173c5ff1faaac /owamp.install
parent0eea2839699e9c9458ad996055a1825b16b9bb06 (diff)
downloadaur-e1c6b08ebc79c1fc967a6568b0cab381e8b50e41.tar.gz
Add .service files, default configuration, tmpfiles, sysusers
Diffstat (limited to 'owamp.install')
-rw-r--r--owamp.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/owamp.install b/owamp.install
new file mode 100644
index 000000000000..37ca2ba463fe
--- /dev/null
+++ b/owamp.install
@@ -0,0 +1,14 @@
+#/bin/sh
+
+# arg 1: the new package version
+post_install() {
+ systemd-sysusers /usr/lib/sysusers.d/owamp.conf
+ systemd-tmpfiles --create /usr/lib/tmpfiles.d/owamp.conf
+ systemctl daemon-reload
+}
+
+post_upgrade() {
+ systemctl daemon-reload
+}
+
+# vim:set ts=2 sw=2 et: