The CAKE egress shaper now has a systemd unit that wraps the left4me-apply-cake helper in apply and clear modes. The unit is a oneshot that starts after network-online and survives service restarts, allowing the shaper to persist across reboots and be managed by systemd. The environment file is marked non-fatal (EnvironmentFile=-) to handle missing or incomplete configurations gracefully. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
346 B
Desktop File
14 lines
346 B
Desktop File
[Unit]
|
|
Description=left4me CAKE egress shaper
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
EnvironmentFile=-/etc/left4me/cake.env
|
|
ExecStart=/usr/local/libexec/left4me/left4me-apply-cake apply
|
|
ExecStop=/usr/local/libexec/left4me/left4me-apply-cake clear
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|