add systemd service file
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
b1a1c9084997d712d097d9a1df831ec806ae3300- Parents
-
4f3be95 - Tree
dd933cf
b1a1c90
b1a1c9084997d712d097d9a1df831ec806ae33004f3be95
dd933cf| Status | File | + | - |
|---|---|---|---|
| A |
garnotify.service
|
15 | 0 |
garnotify.serviceadded@@ -0,0 +1,15 @@ | ||
| 1 | +[Unit] | |
| 2 | +Description=garnotify notification daemon | |
| 3 | +Documentation=https://github.com/mfwolffe/garnotify | |
| 4 | +After=graphical-session.target | |
| 5 | +PartOf=graphical-session.target | |
| 6 | + | |
| 7 | +[Service] | |
| 8 | +Type=simple | |
| 9 | +ExecStart=/usr/local/bin/garnotify daemon | |
| 10 | +Restart=on-failure | |
| 11 | +RestartSec=3 | |
| 12 | +Environment=DISPLAY=:0 | |
| 13 | + | |
| 14 | +[Install] | |
| 15 | +WantedBy=graphical-session.target | |