mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-22 18:19:32 +00:00
* 🎨 Split off cli into separate binaries This commit splits off the cli into 3 binaries: - agent - cli - provider The provider now is a separate component that can be tested by itself and have its own lifecycle. This paves the way to a ligher c3os variant, HA support and other features that can be provided on runtime. This is working, but still there are low hanging fruit to care about. Fixes #14 * 🤖 Add provider bin to releases * ⚙️ Handle signals * ⚙️ Reduce buildsize footprint * 🎨 Scan for providers also in /system/providers * 🤖 Run goreleaser * 🎨 Refactoring
14 lines
320 B
Go
14 lines
320 B
Go
package systemd
|
|
|
|
const EdgevpnUnit string = `[Unit]
|
|
Description=EdgeVPN Daemon
|
|
After=network.target
|
|
[Service]
|
|
EnvironmentFile=/etc/systemd/system.conf.d/edgevpn-%i.env
|
|
LimitNOFILE=49152
|
|
ExecStartPre=-/bin/sh -c "sysctl -w net.core.rmem_max=2500000"
|
|
ExecStart=edgevpn
|
|
Restart=always
|
|
[Install]
|
|
WantedBy=multi-user.target`
|