mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 09:49:28 +08:00
fix(systemd): Ensure agent starts after network is online (#466)
This commit is contained in:
@@ -461,7 +461,8 @@ else
|
|||||||
cat >/etc/systemd/system/beszel-agent.service <<EOF
|
cat >/etc/systemd/system/beszel-agent.service <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Beszel Agent Service
|
Description=Beszel Agent Service
|
||||||
After=network.target
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="PORT=$PORT"
|
Environment="PORT=$PORT"
|
||||||
|
Reference in New Issue
Block a user