Last active
December 10, 2015 17:20
-
-
Save jschpp/34fe6794e22d45e1c810 to your computer and use it in GitHub Desktop.
systemd script for gatling: https://www.fefe.de/gatling/
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
#!/bin/sh | |
[Unit] | |
Description=Control gatling webserver | |
After=network.target | |
Requires=revprox.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/gatling -p 81 -L -F -S -D -c /var/www/ | |
ExecReload=/bin/kill $MAINPID && /usr/bin/gatling -p 81 -L -F -S -D -c /var/www/ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment