VKMEPR
V2EX  ›  CentOS

centos 7 是不是不支持 AmbientCapabilities?

  •  
  •   VKMEPR · Nov 6, 2019 · 3186 views
    This topic created in 2419 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   ·   Solana   ·   5561 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 08:29 · PVG 16:29 · LAX 01:29 · JFK 04:29
    ♥ Do have faith in what you're doing.