Merge pull request #324 from hobarrera/dont-hardcode-DISPLAY

Tweak systemd.service
This commit is contained in:
Nikos Tsipinakis 2017-05-20 12:14:01 +03:00 committed by GitHub
commit 1d0bfb2278
2 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ install-doc:
install-service: service
mkdir -p ${DESTDIR}${PREFIX}/share/dbus-1/services/
install -m644 org.knopwob.dunst.service ${DESTDIR}${PREFIX}/share/dbus-1/services
install -Dm644 dunst.systemd.service ${DESTDIR}${PREFIX}/lib/systemd/user/dunst.service
install: install-dunst install-doc install-service

View File

@ -1,12 +1,12 @@
[Unit]
Description=Dunst notification daemon
Documentation=man:dunst(1)
PartOf=graphical-session.target
[Service]
Type=dbus
BusName=org.freedesktop.Notifications
ExecStart=##PREFIX##/bin/dunst
Environment=DISPLAY=:0
[Install]
WantedBy=default.target