文件操作 - rdma-ndd.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/rdma-ndd.service
编辑文件内容
[Unit] Description=RDMA Node Description Daemon Documentation=man:rdma-ndd StopWhenUnneeded=yes # rdma-ndd is a kernel support program and needs to run as early as possible, # before the network link is brought up, and before an external manager tries # to read the local node description. DefaultDependencies=no Before=sysinit.target # Do not execute concurrently with an ongoing shutdown (required for DefaultDependencies=no) Conflicts=shutdown.target Before=shutdown.target # Networking, particularly link up, should not happen until ndd is ready Wants=network-pre.target Before=network-pre.target # rdma-hw is not ready until ndd is running Before=rdma-hw.target [Service] Type=notify Restart=always ExecStart=/usr/sbin/rdma-ndd --systemd # rdma-ndd is automatically wanted by udev when an RDMA device with a node description is present
修改文件时间
将文件时间修改为当前时间的前一年
删除文件