fix: restart alloy

This commit is contained in:
Tine 2024-11-30 15:17:52 +01:00
parent a613a3a375
commit ce1583fde5
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -68,8 +68,7 @@ echo "OTEL_RESOURCE_ATTRIBUTES=${ATTRIBUTES}" >>/etc/default/alloy
echo "ALLOY_USERNAME=${SERVICE_ACCOUNT_USERNAME}" echo "ALLOY_USERNAME=${SERVICE_ACCOUNT_USERNAME}"
echo "ALLOY_PASSWORD=${SERVICE_ACCOUNT_PASSWORD}" echo "ALLOY_PASSWORD=${SERVICE_ACCOUNT_PASSWORD}"
} >>/etc/default/alloy } >>/etc/default/alloy
systemctl daemon-reload systemctl restart alloy
systemctl reload alloy
## ##
echo "== Configure Tailscale" echo "== Configure Tailscale"