summarylogtreecommitdiffstats
path: root/eruption.install
diff options
context:
space:
mode:
Diffstat (limited to 'eruption.install')
-rw-r--r--eruption.install13
1 files changed, 11 insertions, 2 deletions
diff --git a/eruption.install b/eruption.install
index 488569b88283..c78f34619e6e 100644
--- a/eruption.install
+++ b/eruption.install
@@ -6,12 +6,19 @@ post_install() {
# systemctl --user daemon-reload
systemctl preset eruption
+ systemctl preset eruption-fx-proxy
systemctl preset eruption-audio-proxy
systemctl preset eruption-process-monitor
+ systemctl --global preset eruption-fx-proxy
+ systemctl --global preset eruption-audio-proxy
+ systemctl --global preset eruption-process-monitor
systemctl enable --now eruption.service
+
+ systemctl --global import-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP DISPLAY XAUTHORITY
+ systemctl --global enable --now eruption-fx-proxy.service
systemctl --global enable --now eruption-audio-proxy.service
- # systemctl --global enable --now eruption-process-monitor.service
+ systemctl --global enable --now eruption-process-monitor.service
systemctl reload dbus.service
udevadm control --reload-rules
@@ -25,6 +32,7 @@ post_upgrade() {
# systemctl --user daemon-reload
systemctl try-restart eruption.service
+ systemctl --global try-restart eruption-fx-proxy.service
systemctl --global try-restart eruption-audio-proxy.service
systemctl --global try-restart eruption-process-monitor.service
@@ -33,8 +41,9 @@ post_upgrade() {
}
pre_remove() {
- systemctl --global stop eruption-process-monitor.service
+ systemctl --global stop eruption-fx-proxy.service
systemctl --global stop eruption-audio-proxy.service
+ systemctl --global stop eruption-process-monitor.service
systemctl stop eruption.service
}