Skip to content

Commit

Permalink
app-backup/burp: prevent OpenRC init stript from writing the PID file
Browse files Browse the repository at this point in the history
Burp manages its PID file by itself and refuses to start if it already exists,
therefore start-stop-daemon shouldn't write one.

Gentoo-Bug: 620654

Package-Manager: Portage-2.3.5, Repoman-2.3.1
  • Loading branch information
Marek Szuba committed Jun 6, 2017
1 parent 610228c commit f9d2da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-backup/burp/files/burp2.initd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

BURP_CONFIG="/etc/burp/burp-server.conf"
Expand All @@ -10,7 +10,7 @@ command="/usr/sbin/burp"
command_args="-c '${BURP_CONFIG}' -F"
command_background="yes"
pidfile="/run/burp/burp.server.pid"
start_stop_daemon_arg="--make-pidfile --wait 500"
start_stop_daemon_arg="--wait 500"

extra_started_commands="reload summary"
description_reload="Reloads configuration"
Expand Down

0 comments on commit f9d2da2

Please sign in to comment.