Update byparr-install.sh
This commit is contained in:
parent
f807f399ac
commit
705b0b3ed2
@ -33,12 +33,14 @@ cat <<EOF >/etc/systemd/system/byparr.service
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Byparr
|
Description=Byparr
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/opt/Byparr
|
WorkingDirectory=/opt/Byparr
|
||||||
ExecStart=/usr/local/bin/uv run python3 main.py
|
ExecStart=/usr/local/bin/uv run python3 main.py
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user