Files
VeillaxandClaude Sonnet 5.5 3dc8d1af46
CI / test (push) Successful in 5m57s
Release / release (push) Failing after 19m45s
Add opt-in auto-update from Gitea releases
The program now lives in /usr/local/lib/bamboo and is owned by its service user so it can replace itself.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 14:00:42 -06:00

30 lines
842 B
Desktop File

[Unit]
Description=Bamboo: site agent that connects a private network to the edge
Documentation=https://git.veillax.com/Veillax/bamboo
After=network-online.target
Wants=network-online.target
[Service]
User=bamboo
Group=bamboo
EnvironmentFile=-/etc/bamboo/bamboo.env
ExecStart=/usr/local/lib/bamboo/bamboo -data /var/lib/bamboo
WorkingDirectory=/var/lib/bamboo
Restart=on-failure
RestartSec=3
# It makes outbound connections only, so it needs no privileges at all.
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/var/lib/bamboo /usr/local/lib/bamboo
ProtectHome=true
PrivateTmp=true
ProtectKernelTunables=true
ProtectControlGroups=true
# To list this machine's Docker containers (BAMBOO_DOCKER=1), let the service read
# the Docker socket: sudo usermod -aG docker bamboo then restart it.
[Install]
WantedBy=multi-user.target