Start script for notification daemon
This commit is contained in:
parent
7d9a9b8c91
commit
736f5b9a7c
12
launch_notification_daemon.sh
Normal file
12
launch_notification_daemon.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user