Last active
June 24, 2017 22:59
-
-
Save goduncan/cfbf8e9675b8df106a3235df7b1225f0 to your computer and use it in GitHub Desktop.
Example Sumo Logic systemd start-up script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Sumo Logic Collector | |
[Service] | |
Type=forking | |
ExecStart=/usr/local/bin/startsumo.sh | |
ExecStop=/opt/SumoCollector/collector stop | |
# Give a reasonable amount of time for the server to start up/shut down | |
TimeoutSec=300 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment