mirror of
https://github.com/dndx/phantun.git
synced 2025-04-04 11:09:29 +08:00
7 lines
140 B
Bash
7 lines
140 B
Bash
#!/bin/bash
|
|
PID_FILE=$1
|
|
shift 1
|
|
mkdir -p /var/run/phantun
|
|
/usr/libexec/phantun/phantun-server "$@" &
|
|
echo $! > /var/run/phantun/${PID_FILE}
|