gardesk/garbg / 9040c8d

Browse files

Update systemd service for standard installation

- Use /usr/local/bin/garbg path
- Target graphical-session.target
- Clean up service definition
Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
9040c8d34f4e2b9ffe9751f40a3f0b951be3910a
Parents
ef5f6c7
Tree
7eb837c

1 changed file

StatusFile+-
M garbg.service 6 14
garbg.servicemodified
@@ -1,22 +1,14 @@
11
 [Unit]
2
-Description=garbg wallpaper daemon for gar window manager
3
-Documentation=https://github.com/tenseleyFlow/garbg
2
+Description=garbg wallpaper daemon
3
+Documentation=https://gar.dev
44
 After=graphical-session.target
5
+PartOf=graphical-session.target
56
 
67
 [Service]
78
 Type=simple
8
-
9
-# Development path (current build)
10
-ExecStart=/home/mfwolffe/GithubOrgs/tenseleyFlow/garbg/target/release/garbg daemon
11
-
12
-# Production path (after install to PATH)
13
-#ExecStart=garbg daemon
14
-
9
+ExecStart=/usr/local/bin/garbg daemon
1510
 Restart=on-failure
16
-RestartSec=5
17
-
18
-# Environment
19
-Environment=DISPLAY=:0
11
+RestartSec=3
2012
 
2113
 [Install]
22
-WantedBy=default.target
14
+WantedBy=graphical-session.target