Update README.md

Added note in unit file to prevent user/printer permissions issue
This commit is contained in:
Clarth 2024-02-05 08:11:50 -05:00
parent 1bd0ae824e
commit 71c48add34
1 changed files with 1 additions and 1 deletions

View File

@ -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