shawn1m / overture

A customized DNS relay server
MIT License
1.79k stars 284 forks source link

请问overture有daemon模式吗? #273

Open blog2i2j opened 2 years ago

blog2i2j commented 2 years ago

想用daemon模式运行, 但-h没有找到相应的参数, 特来请教.

D0wn10ad commented 1 year ago

在Debian下我是这样做的 root@system# more /etc/systemd/system/overture.service

[Unit]
Description=overture
After=network.target
[Service]
ExecStart=/usr/bin/overture/overture -c /etc/overture/config.yml -l /var/log/overture/overture.log
Restart=on-abort
[Install]
WantedBy=multi-user.target

更多可以参考 https://linuxhint.com/systemd-debian/