#cat /etc/systemd/system/falcon_agent.service
[Unit]
Description=falcon-agent
After=network.target
[Service]
Type=simple
ExecStart=/srv/app/open-falcon/agent/bin/falcon-agent -c /srv/app/open-falcon/agent/config/cfg.json
ExecStop=/srv/app/open-falcon/open-falcon stop agent
Restart=on-failure
User=open-falcon
[Install]
WantedBy=multi-user.target