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 @@
1
 [Unit]
1
 [Unit]
2
-Description=garbg wallpaper daemon for gar window manager
2
+Description=garbg wallpaper daemon
3
-Documentation=https://github.com/tenseleyFlow/garbg
3
+Documentation=https://gar.dev
4
 After=graphical-session.target
4
 After=graphical-session.target
5
+PartOf=graphical-session.target
5
 
6
 
6
 [Service]
7
 [Service]
7
 Type=simple
8
 Type=simple
8
-
9
+ExecStart=/usr/local/bin/garbg daemon
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
-
15
 Restart=on-failure
10
 Restart=on-failure
16
-RestartSec=5
11
+RestartSec=3
17
-
18
-# Environment
19
-Environment=DISPLAY=:0
20
 
12
 
21
 [Install]
13
 [Install]
22
-WantedBy=default.target
14
+WantedBy=graphical-session.target