Installing Files.com Agent on Linux
Last updated
files-agent service uninstall --user-service=false[Unit]
Description=Files.com Agent v2
ConditionFileIsExecutable=/usr/bin/files-agent
[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/bin/files-agent "start" "--config" "/path/to/files_agent_config.toml" "--log_file" "/path/to/files-agent.log"
Restart=always
RestartSec=60
[Install]
WantedBy=multi-user.targetsudo systemctl enable files-agentsudo systemctl start files-agentsudo systemctl stop files-agentsudo systemctl disable files-agent