port LXC side to Alpine/OpenRC, add Proxmox host-side creator
- Replace systemd units with OpenRC init scripts (supervise-daemon) - Add wirecon-watchdog-loop.sh since OpenRC has no timers - Switch install.sh to apk + rc-update - Update bootstrap.sh to install git/bash via apk - New proxmox/create-lxc.sh: picks next VMID, downloads Alpine template, creates unprivileged LXC with tun passthrough, chains bootstrap - Rewrite README around the Proxmox one-liner flow
This commit is contained in:
1 parent
390e10b06d
commit
5b9abdae08
13 files changed
+290
-128
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/sbin/openrc-run
|
||||
# wirecon tunnel continuous monitor — supervised long-running loop.
|
||||
|
||||
name="wirecon-monitor"
|
||||
description="wirecon WireGuard tunnel monitor"
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
command="/usr/local/bin/wirecon-monitor.sh"
|
||||
respawn_delay=5
|
||||
respawn_max=0 # unlimited restarts
|
||||
output_log="/var/log/wirecon-monitor.log"
|
||||
error_log="/var/log/wirecon-monitor.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after wg-quick.wg0
|
||||
}
|
||||
Reference in new issue
Block a user