文件操作 - droplet-agent.service
返回文件管理
返回主菜单
删除本文件
文件: /etc/systemd/system/droplet-agent.service
编辑文件内容
[Unit] Description=The DigitalOcean Droplet Agent After=network-online.target Wants=network-online.target [Service] User=root Environment=TERM=xterm-256color ExecStart=/opt/digitalocean/bin/droplet-agent Restart=always RestartSec=10 TimeoutStopSec=90 KillMode=process OOMScoreAdjust=-900 SyslogIdentifier=DropletAgent [Install] WantedBy=multi-user.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件