aggiunto beszel
This commit is contained in:
7
beszel/beszel-agent-update.service
Normal file
7
beszel/beszel-agent-update.service
Normal 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'
|
Reference in New Issue
Block a user