Use systemd user unit for long-running stuff
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting network tray application"
|
||||
nm-applet &
|
||||
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} nm-applet
|
||||
|
||||
Reference in New Issue
Block a user