diff options
author | 2016-06-30 23:54:13 +0100 | |
---|---|---|
committer | 2016-07-02 17:11:56 +0100 | |
commit | 4b23af00c3b7d9dd6b2099541fe01561edb25262 (patch) | |
tree | 8cedff56c963e4231612ebcfb2ccd22ad4f41f0e /app-backup/burp/files | |
parent | games-util/xboxdrv: Remove old 0.8.5-r2 (diff) | |
download | gentoo-4b23af00c3b7d9dd6b2099541fe01561edb25262.tar.gz gentoo-4b23af00c3b7d9dd6b2099541fe01561edb25262.tar.bz2 gentoo-4b23af00c3b7d9dd6b2099541fe01561edb25262.zip |
app-backup/burp: Move scripts out of /etc
Burp needs /etc/burp directory to be writable for its daemon (at least
first time it runs). On the other hand an executable cannot be placed
into a group-writable directory and this is where Burp scripts are
installed by default. Move all scripts to /usr/share/burp/scripts. /etc
is not a good place for scripts anyway.
Gentoo-Bug: 562470
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-backup/burp/files')
-rw-r--r-- | app-backup/burp/files/burp.initd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-backup/burp/files/burp.initd b/app-backup/burp/files/burp.initd index 282019920125..fda1a7515384 100644 --- a/app-backup/burp/files/burp.initd +++ b/app-backup/burp/files/burp.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,10 +24,11 @@ depend() { } start_pre() { - checkpath -o burp:burp -m 0775 -d /run/lock/burp checkpath -o root:burp -m 0775 -d /etc/burp - checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf + checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir + checkpath -o burp:burp -m 0775 -d /run/lock/burp + checkpath -o root:burp -m 0750 -d /var/spool/burp } reload() { |