OCT 1. 增加vcpe systemd配置文件,支持systemd服务
This commit is contained in:
parent
94f4af9d2d
commit
399fcc0c65
|
@ -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
|
Loading…
Reference in New Issue