dev: update v86, switch twisp to epoxy-server with twisp feature

This commit is contained in:
ProgrammerIn-wonderland
2024-10-07 22:04:41 -04:00
committed by Eric Dubé
parent c7b08d1b5e
commit ed0a83ca9d
6 changed files with 26 additions and 16 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ COPY rootfs/ /
COPY basic-boot /etc/init.d/
RUN chmod +x /etc/init.d/basic-boot
COPY assets/twisp /bin/twisp
RUN chmod u+x /bin/twisp
COPY assets/epoxy-server /bin/epoxy-server
RUN chmod u+x /bin/epoxy-server
RUN rc-update add twisp-service default
RUN rc-update add debug-service default
@@ -0,0 +1,12 @@
[server]
bind = "/dev/hvc0"
socket = "file"
transport = "lengthdelimitedle"
file_raw_mode = true # maybe?
[stream]
allow_twisp = true
[wisp]
wisp_v2 = true
buffer_size = 4294967295
@@ -1,11 +1,13 @@
#!/sbin/openrc-run
description="twisp daemon"
command="/bin/twisp"
command_args="--pty /dev/hvc0"
pidfile="/var/run/twisp.pid"
description="Epoxy Daemon"
command="/bin/epoxy-server"
command_args="/etc/epoxyconf.toml"
command_background="yes"
pidfile="/var/run/twisp.pid"
start_stop_daemon_args="--background --make-pidfile"
output_log="/dev/ttyS0"
error_log="/dev/ttyS0"
depend() {
need localmount