smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

Question about KillMode=process in systemd unit 关于systemd unit文件中KillMode=process的疑问

Open reallyimeric opened this issue 3 years ago • 1 comments

I saw KillMode=process setting from https://github.com/pymumu/smartdns/blob/d7d7ef48cd71f9c13358859d2c6137eae7462415/systemd/smartdns.service.in#L12 I wonder why we need this?

我看到这里设置了 KillMode=process https://github.com/pymumu/smartdns/blob/d7d7ef48cd71f9c13358859d2c6137eae7462415/systemd/smartdns.service.in#L12 请问为什么需要这样指定?

reallyimeric avatar Feb 18 '22 12:02 reallyimeric

我也提一个小小问题吧,如果用下面的命令重启会提示进程已经存在 killall smartdns ; smartdns

在中间加个sleep就可以了 killall smartdns ; sleep 1; smartdns

arm64和amd64都有这个问题

PHCSJC avatar Feb 18 '22 22:02 PHCSJC

最新版本验证,有问题reopen issue

pymumu avatar Oct 20 '22 12:10 pymumu