summarylogtreecommitdiffstats
path: root/nostromo.install
diff options
context:
space:
mode:
Diffstat (limited to 'nostromo.install')
-rw-r--r--nostromo.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/nostromo.install b/nostromo.install
index 8a7e131bfbfd..bb5cfe8ade83 100644
--- a/nostromo.install
+++ b/nostromo.install
@@ -9,3 +9,11 @@ post_upgrade() {
chown -R nostromo:daemon /usr/share/nostromo/htdocs
chown -R nostromo:daemon /usr/share/nostromo/logs
}
+
+pre_remove() {
+ systemctl stop nostromo
+}
+
+post_remove() {
+ userdel nostromo
+}