文件操作 - cockpit.socket
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/cockpit.socket
编辑文件内容
[Unit] Description=Cockpit Web Service Socket Documentation=man:cockpit-ws(8) Wants=cockpit-motd.service [Socket] ListenStream=9090 ExecStartPost=-/usr/share/cockpit/motd/update-motd '' localhost ExecStartPost=-/bin/ln -snf active.motd /run/cockpit/motd ExecStopPost=-/bin/ln -snf inactive.motd /run/cockpit/motd [Install] WantedBy=sockets.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件