Skip to content

Instantly share code, notes, and snippets.

@kazeburo
Created March 10, 2021 03:50
Show Gist options
  • Save kazeburo/418744f812e6c6956135844edbbb0cc9 to your computer and use it in GitHub Desktop.
Save kazeburo/418744f812e6c6956135844edbbb0cc9 to your computer and use it in GitHub Desktop.
[Unit]
Description=http-dump-request
[Service]
PIDFile=/run/http-dump-request.pid
User=root
Group=root
ExecStart=/usr/local/bin/http-dump-request
ExecStop=/bin/kill $MAINPID
Restart = always
RestartSec = 10
Type = simple
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment