summarylogtreecommitdiffstats
path: root/stratoflare.install
diff options
context:
space:
mode:
authorKarel Louwagie2017-01-01 15:28:33 +0100
committerKarel Louwagie2017-01-01 15:28:33 +0100
commitb1bc284c5375126bc9cf74b60933bf550f6e0280 (patch)
tree06a17d860e6f5ad8f685dc44efd2a8d4224099ee /stratoflare.install
downloadaur-b1bc284c5375126bc9cf74b60933bf550f6e0280.tar.gz
adds stratoflare 0.1.0
Diffstat (limited to 'stratoflare.install')
-rw-r--r--stratoflare.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/stratoflare.install b/stratoflare.install
new file mode 100644
index 000000000000..00fba8983f88
--- /dev/null
+++ b/stratoflare.install
@@ -0,0 +1,8 @@
+post_install() {
+ systemd-sysusers
+ chown stratoflare:stratoflare /etc/stratoflare.cfg.example
+}
+
+post_remove() {
+ getent passwd stratoflare >/dev/null && userdel stratoflare
+}