We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dae5b2 commit 93ebe69Copy full SHA for 93ebe69
1 file changed
phoebus.service
@@ -0,0 +1,18 @@
1
+[Unit]
2
+Description=My GUI App
3
+After=default.target
4
+
5
+[Service]
6
+#Type=simple
7
+ExecStart=/usr/bin/env DISPLAY=:0 XAUTHORITY=/home/pi/.Xauthority /bin/bash /home/pi/phoebus/phoebus-product/phoebus.sh
8
+#Restart=on-failure
9
+#User=pi
10
+#Environment=DISPLAY=:0
11
+#Environment=XAUTHORITY=/home/pi/.Xauthority
12
+StandardOutput=append:/home/pi/phoebus/phoebus.log
13
+[Install]
14
+WantedBy=default.target
15
16
+#ExecStart=/bin/bash /home/pi/phoebus/phoebus-product/phoebus.sh
17
18
0 commit comments