mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
Add After/Wants network-online.target to prevent race where start-tunneld starts before the network interface is up, causing missing MASQUERADE rules. Rename `web reset` to `web uninit` for clarity.
16 lines
285 B
Desktop File
16 lines
285 B
Desktop File
[Unit]
|
|
Description=StartTunnel
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=RUST_LOG=startos=debug,patch_db=warn
|
|
ExecStart=/usr/bin/start-tunneld
|
|
Restart=always
|
|
RestartSec=3
|
|
ManagedOOMPreference=avoid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|