mirror of
https://github.com/dndx/phantun.git
synced 2025-09-17 20:54:30 +08:00
chore(package): add Debian and RedHat package files (#173)
--------- Signed-off-by: Randy Li <ayaka@soulik.info>
This commit is contained in:
6
debian/phantun-server-wrapper
vendored
Normal file
6
debian/phantun-server-wrapper
vendored
Normal 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}
|
Reference in New Issue
Block a user