Skip to content

learhy/chfagent-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

chfagent-systemd

To grab these files for use on RHEL compatable systemd servers, run the following as root:

git clone https://github.com/learhy/chfagent-systemd.git
cd chfagent-systemd
cp chfagent.service /etc/systemd/system
cp chfagent.sh /usr/bin

You will then need to modify line 13 of /usr/bin/chfagent/sh to set your API key, API email address and any other flags required:

cmd="chfagent [email protected] -api_token=insertokenhere -type=proxy -host=0.0.0.0"

After editing these files, you may start or stop the services thusly:

[root@kentik-agent system]# service chfagent stop
[root@kentik-agent system]# service chfagent start
[root@kentik-agent system]# service chfagent restart
Stopping chfagent...
Stopped
Starting chfagent

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages