Systemd init with /sbin/init, services for vpnagentd and entrypoint
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-25 02:21:19 +00:00
parent b96e3a46bf
commit c6903bb2a0
3 changed files with 4 additions and 19 deletions

View File

@@ -29,20 +29,8 @@
"readOnly": true,
"shared": false,
"private": false
},
{
"hostPath": "/sys/fs/cgroup",
"containerPath": "/sys/fs/cgroup",
"readOnly": false,
"shared": false,
"private": false
}
],
"tmpfsMounts": [
"/run",
"/run/lock"
],
"cgroupParent": "host",
"devices": [
"/dev/net/tun:/dev/net/tun"
],

View File

@@ -15,12 +15,6 @@ services:
volumes:
- ${APP_DATA_DIR}/data:/data
- /etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/source:/config:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
tmpfs:
- /run
- /run/lock
cgroupns_mode: host
stop_signal: SIGRTMIN+3
labels:
generated: true
traefik.enable: true

View File

@@ -67,6 +67,9 @@ COPY cisco-vpnagentd.service /etc/systemd/system/cisco-vpnagentd.service
RUN systemctl enable rego-vpn.service && \
systemctl enable cisco-vpnagentd.service
# Create cgroup directory for systemd
RUN mkdir -p /sys/fs/cgroup
VOLUME [ "/sys/fs/cgroup" ]
EXPOSE 8806