small reworks in frontend and scripts, mostly finalized ansible deploy script -- still needs testing
This commit is contained in:
parent
f41dfc4f86
commit
e57f803a52
25 changed files with 440 additions and 90 deletions
15
ansible_deploy/service.j2
Normal file
15
ansible_deploy/service.j2
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description={{ script_file }}
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/poetry run /usr/bin/python3 {{ script_file }}
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=kat
|
||||
Group=kat
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
DefaultInstance=main
|
Loading…
Add table
Add a link
Reference in a new issue