Update README.md
Added note in unit file to prevent user/printer permissions issue
This commit is contained in:
parent
1bd0ae824e
commit
71c48add34
|
@ -28,7 +28,7 @@ Description=tg_print_bot
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=nobody
|
User=nobody #must be run as user with printer permissions.
|
||||||
ExecStart=/absolute/path/to/venv/bin/python /absolute/path/to/start.py
|
ExecStart=/absolute/path/to/venv/bin/python /absolute/path/to/start.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5s
|
RestartSec=5s
|
||||||
|
|
Loading…
Reference in New Issue