diff --git a/launch_notification_daemon.sh b/launch_notification_daemon.sh new file mode 100644 index 0000000..2836e69 --- /dev/null +++ b/launch_notification_daemon.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Conditionally start the notification daemon + +if pgrep noti > /dev/null ; then + echo "Notification daemon already started" +else + echo "Starting notification-daemon" + /usr/lib/notification-daemon/notification-daemon & +fi