chore(package): add Debian and RedHat package files (#173)

---------

Signed-off-by: Randy Li <ayaka@soulik.info>
This commit is contained in:
Randy Li
2025-08-23 00:03:21 +08:00
committed by GitHub
parent f5aac38969
commit 2a37a2fc92
14 changed files with 344 additions and 0 deletions

6
debian/phantun-server-wrapper vendored Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
PID_FILE=$1
shift 1
mkdir -p /var/run/phantun
/usr/libexec/phantun/phantun-server "$@" &
echo $! > /var/run/phantun/${PID_FILE}