aggiunto beszel

This commit is contained in:
piccihud
2024-12-26 18:48:34 +01:00
parent a7ff76d124
commit 64295199d1
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[Unit]
Description=Update beszel-agent if needed
Wants=beszel-agent.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/opt/beszel-agent/beszel-agent update | grep -q "Successfully updated" && systemctl restart beszel-agent'