summarylogtreecommitdiffstats
path: root/chronograf.install
diff options
context:
space:
mode:
authorAdam S Levy2017-12-01 02:52:43 +0000
committerAdam S Levy2017-12-01 02:52:43 +0000
commitb57a92ececaa1acd44ab02400e84c104c52d7eec (patch)
tree2d2a4fba590814ead978e3a3a6344920d8f7c43e /chronograf.install
parent10dd95242c97c501527a2b02ecf4fca8ec682513 (diff)
downloadaur-b57a92ececaa1acd44ab02400e84c104c52d7eec.tar.gz
Added sysusers, build from proper source
Diffstat (limited to 'chronograf.install')
-rw-r--r--chronograf.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/chronograf.install b/chronograf.install
new file mode 100644
index 000000000000..dcdecf3998d5
--- /dev/null
+++ b/chronograf.install
@@ -0,0 +1,11 @@
+post_install() {
+ systemd-sysusers /usr/lib/sysusers.d/chronograf.conf
+ systemd-tmpfiles --create /usr/lib/tmpfiles.d/chronograf.conf
+ systemctl daemon-reload
+}
+
+post_upgrade() {
+ systemctl daemon-reload
+}
+
+# vim:set ts=2 sw=2 et: