Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Devops systemd套接字激活使我的服务单元不断焕然一新_Devops_Systemd - Fatal编程技术网

Devops systemd套接字激活使我的服务单元不断焕然一新

Devops systemd套接字激活使我的服务单元不断焕然一新,devops,systemd,Devops,Systemd,我有一个“gameserver.socket”和一个“gameserver.service” 该服务在第一次连接时由systemd套接字激活激活 我的问题如下: 如果我停止“gameserver.service”,它将立即被“gameserver.socket”生成 为什么会发生这种情况 “gameserver.socket”不应该回到“侦听”模式而不是“运行”模式吗?当建立另一个连接时,它应该启动“gameserver.service”

我有一个“gameserver.socket”和一个“gameserver.service”

该服务在第一次连接时由systemd套接字激活激活

我的问题如下:

如果我停止“gameserver.service”,它将立即被“gameserver.socket”生成

为什么会发生这种情况

“gameserver.socket”不应该回到“侦听”模式而不是“运行”模式吗?当建立另一个连接时,它应该启动“gameserver.service”