rice/launch_notification_daemon.sh

13 lines
241 B
Bash
Raw Permalink Normal View History

2022-12-03 22:03:10 +00:00
#!/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