Skip to content

Commit b889ad2

Browse files
committed
Update service file to remove root as user
1 parent 0759c80 commit b889ad2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/turing-smart-screen-python.service

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ After=network-online.target
55

66
[Service]
77
Type=simple
8-
User=root
98

9+
; Don't forget to change the value here!
10+
; There is no reason to run this program as root, just use your username
11+
User=YOUR_USERNAME_HERE
12+
13+
; If you want to put the program in your home directory instead, remove 'ProtectHome=read-only' line below
1014
WorkingDirectory=/opt/turing-smart-screen-python/
15+
1116
ExecStart=python3 main.py
1217
1318
; Always restart the script

0 commit comments

Comments
 (0)