Fixed Ansible for controller
This commit is contained in:
parent
c2d277663f
commit
64a10b0512
10 changed files with 1096 additions and 216 deletions
|
@ -1,16 +0,0 @@
|
|||
[Unit]
|
||||
Description={{ script_file }}
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/poetry run python3 -u {{ script_file }}
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=pi
|
||||
Group=pi
|
||||
RestartSec=10
|
||||
WorkingDirectory=/home/pi/pyServices
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
DefaultInstance=main
|
Loading…
Add table
Add a link
Reference in a new issue