Skip to content

Commit

Permalink
Update service file to remove root as user
Browse files Browse the repository at this point in the history
  • Loading branch information
mathoudebine committed Jun 18, 2024
1 parent 0759c80 commit b889ad2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/turing-smart-screen-python.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ After=network-online.target

[Service]
Type=simple
User=root

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

0 comments on commit b889ad2

Please sign in to comment.