Skip to content

Instantly share code, notes, and snippets.

@jschpp
Last active December 10, 2015 17:20
Show Gist options
  • Save jschpp/34fe6794e22d45e1c810 to your computer and use it in GitHub Desktop.
Save jschpp/34fe6794e22d45e1c810 to your computer and use it in GitHub Desktop.
systemd script for gatling: https://www.fefe.de/gatling/
#!/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