Hi smokeping users. For anyone that need it, attached is a systemd init script which work fine for me on CentOS 7. The script was a little bit tweaked from the one present in the Fedora 22 smokeping 6.10 RPM package (works fine for 6.11). The installation is pretty easy
-copy init scritp to /etc/systemd/system/ folder
-edit the file and replace smokeping installation path for
wherever you install it.
-for slave servers, add salve options to ExecStar var
-run command “systemctl daemon-reload”
-test start, stop, restart, status, reload commands for
smokeping.service. “systemctl start smokeping.service” for example.
-run “systemctl enable smokeping.service” to run smokeping at
startup.
And that’s it.
Bye,
Dago
De: smokeping-users
[mailto:[email protected]] En nombre de
Sorrell, Al
Enviado el: martes, 21 de abril de 2015 9:57
Para: 'Eric' <[email protected]>
CC: [email protected]
Asunto: Re: [smokeping-users] Anyone have systemd init scripts?
I setup a virtual box with latest Fedora at home and downloaded Smokeping via
yum. There was a smokeping.service file included. I don’t have access to a
Linux box at the moment but will forward to the list tonight. Or you can just
get it from the repo – I should have tried this before posting!
From: Eric [mailto:[email protected]]
Sent: Monday, April 20, 2015 9:50 PM
To: Sorrell, Al
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [smokeping-users] Anyone have systemd init scripts?
On Apr 20, 2015, at 2:07 PM, Sorrell, Al
<[email protected]<mailto:[email protected]>> wrote:
We’re moving from Solaris 10 to RHEL 6.5 Linux which uses systemd. I was
wondering if anyone already had a smokeping.services type script for the
systemd environment that they would be willing to share?
Thanks,
Al
_________________________
Me too please!
T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its
associates do not provide legal or tax advice. Any tax-related discussion
contained in this e-mail, including any attachments, is not intended or written
to be used, and cannot be used, for the purpose of (i) avoiding any tax
penalties or (ii) promoting, marketing, or recommending to any other party any
transaction or matter addressed herein. Please consult your independent legal
counsel and/or professional tax advisor regarding any legal or tax issues
raised in this e-mail.
The contents of this e-mail and any attachments are intended solely for the use
of the named addressee(s) and may contain confidential and/or privileged
information. Any unauthorized use, copying, disclosure, or distribution of the
contents of this e-mail is strictly prohibited by the sender and may be
unlawful. If you are not the intended recipient, please notify the sender
immediately and delete this e-mail.
smokeping.service
Description: smokeping.service
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
