OCT 1. 增加vcpe systemd配置文件,支持systemd服务

This commit is contained in:
huangxin 2022-11-15 11:12:08 +08:00
parent 94f4af9d2d
commit 399fcc0c65
1 changed files with 13 additions and 0 deletions

13
config/vcpe.service Normal file
View File

@ -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