summarylogtreecommitdiffstats
path: root/eruption.install
diff options
context:
space:
mode:
authorX3n0m0rph592019-05-23 20:36:07 +0200
committerX3n0m0rph592019-05-23 20:36:07 +0200
commit411be9979cb8ff4d5ecb7b8e02469f10b4632e22 (patch)
tree71bba9be6df9349136412bccbb51538a294992e9 /eruption.install
parentd7c1aeac8454d03b7e1f44c16fb956b26cffeb7c (diff)
downloadaur-411be9979cb8ff4d5ecb7b8e02469f10b4632e22.tar.gz
Release 0.0.5
Diffstat (limited to 'eruption.install')
-rw-r--r--eruption.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/eruption.install b/eruption.install
new file mode 100644
index 000000000000..1f3b27a1c039
--- /dev/null
+++ b/eruption.install
@@ -0,0 +1,12 @@
+post_install() {
+ # systemctl preset eruption
+ udevadm control --reload-rules
+}
+
+pre_remove() {
+ systemctl stop eruption.service
+}
+
+post_remove() {
+ systemctl daemon-reload
+}