From 399fcc0c65b721dff8ca40f3183fdafc6795319d Mon Sep 17 00:00:00 2001 From: huangxin Date: Tue, 15 Nov 2022 11:12:08 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E5=A2=9E=E5=8A=A0vcpe=20systemd?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?systemd=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/vcpe.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/vcpe.service diff --git a/config/vcpe.service b/config/vcpe.service new file mode 100644 index 0000000..0b0e732 --- /dev/null +++ b/config/vcpe.service @@ -0,0 +1,13 @@ +[Unit] +Description=Clash Service +StartLimitIntervalSec=0 + +[Service] +Type=simple +Restart=always +RestartSec=1 +User=root +ExecStart=/usr/bin/env /home/jw/vcpe/srcs/vcpe_main dhcpd -n vxlan0 -i /home/jw/vcpe/srcs/config/opendhcp.ini -c /home/jw/vcpe/srcs/config/vcpe.cfg -d /home/jw/vcpe/srcs/config/ -k pqwAQ81rxg70aoy3v+Jjrw== + +[Install] +WantedBy=multi-user.target \ No newline at end of file