VKMEPR
V2EX  ›  CentOS

centos 7 是不是不支持 AmbientCapabilities?

  •  
  •   VKMEPR · Nov 6, 2019 · 3451 views
    This topic created in 2542 days ago, the information mentioned may be changed or developed.

    在 service 配置文件里添加 AmbientCapabilities=CAP_NET_BIND_SERVICE 参数以支持 nobody 用户账户运行的守护程序可以使用 1024 以下的低位端口。

    但是测试脚本没有开机运行。网上查询说是 systemd 版本必须在 229 及以上才可以,但 centos 7 下的 systemd 版本号只有 219.

    大陆们都怎么解决这个问题的?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1493 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 17:47 · PVG 01:47 · LAX 10:47 · JFK 13:47
    ♥ Do have faith in what you're doing.