Skip to content

Instantly share code, notes, and snippets.

@jschpp
Created January 18, 2016 16:32
Show Gist options
  • Save jschpp/48cfbc378ed09045397b to your computer and use it in GitHub Desktop.
Save jschpp/48cfbc378ed09045397b to your computer and use it in GitHub Desktop.
systemd script for tlsgatling: https://www.fefe.de/gatling/
#!/bin/sh
[Unit]
Description=Control gatling ssl webserver
After=network.target
[Service]
Type=simple
WorkingDirectory=/var/www
ExecStart=/opt/diet/bin/tlsgatling -F -S -D
ExecReload=/bin/kill $MAINPID && /opt/diet/bin/tlsgatling -F -S -D
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment