Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pandorafms-ce] more verbose unix service file #117

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 11 additions & 2 deletions pandora_agents/unix/pandora_agent_daemon.service
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#
# Instructions for unix:
#
# 1. Copy this file to the directory: /etc/systemd/system
# 2. Start and stop the service running: systemctl start/stop
# 3. Enable autostart at boot running: sudo systemctl enable pandora_agent_daemon
# 4. Can be monitored with journal: journalctl -f -u pandora_agent_daemon
#
[Unit]
Description=Pandora FMS agent daemon
Description=Pandora FMS agent daemon ( %H )
After=network-online.target

[Service]
ExecStart=/usr/bin/pandora_agent /etc/pandora
Environment=PANDORA_PATH=/etc/pandora
ExecStart=/usr/bin/pandora_agent $PANDORA_PATH

[Install]
WantedBy=multi-user.target