Skip to content

Commit 178d103

Browse files
authored
Update ledvis.service
1 parent 8d80b23 commit 178d103

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Services/ledvis.service

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ After=network.target
55
[Service]
66
Type=simple
77
WorkingDirectory=/home/pi/ledvis
8-
ExecStart=/usr/bin/python2.7 run.py
8+
ExecStart=/bin/bash -c "python -u run.py"
99
PIDFile=/tmp/ledvis.pid
10+
User=root
1011

1112
[Install]
12-
WantedBy=multi-user.target
13+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)