diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-03 19:19:46 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2016-01-03 19:20:02 +0100 |
commit | 4f4d15e36c34bdf900f9157f5873c2065c0cf188 (patch) | |
tree | 25062eb18b6a23e7aa21f241204dff95ba52ae14 /app-misc/taskd | |
parent | media-libs/sdl2-mixer: version bump (diff) | |
download | gentoo-4f4d15e36c34bdf900f9157f5873c2065c0cf188.tar.gz gentoo-4f4d15e36c34bdf900f9157f5873c2065c0cf188.tar.bz2 gentoo-4f4d15e36c34bdf900f9157f5873c2065c0cf188.zip |
app-misc/taskd: revbump: added logrotate, minor improvements
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/taskd')
-rw-r--r-- | app-misc/taskd/files/taskd.logrotate | 8 | ||||
-rw-r--r-- | app-misc/taskd/taskd-1.1.0-r1.ebuild (renamed from app-misc/taskd/taskd-1.1.0.ebuild) | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/app-misc/taskd/files/taskd.logrotate b/app-misc/taskd/files/taskd.logrotate new file mode 100644 index 000000000000..cfce919c114d --- /dev/null +++ b/app-misc/taskd/files/taskd.logrotate @@ -0,0 +1,8 @@ +/var/log/taskd/taskd.log { + daily + missingok + rotate 7 + compress + delaycompress + copytruncate +} diff --git a/app-misc/taskd/taskd-1.1.0.ebuild b/app-misc/taskd/taskd-1.1.0-r1.ebuild index e58da331743e..643b1551d4a7 100644 --- a/app-misc/taskd/taskd-1.1.0.ebuild +++ b/app-misc/taskd/taskd-1.1.0-r1.ebuild @@ -44,16 +44,24 @@ src_install() { grep ^TASKDDATA= "${FILESDIR}"/taskd.confd > 90taskd doenvd 90taskd - keepdir /usr/libexec/taskd /etc/taskd + dodir /etc/taskd + keepdir /usr/libexec/taskd + diropts -m 0750 dodir /var/lib/taskd keepdir /var/log/taskd + diropts -m 0700 keepdir /var/lib/taskd/orgs /etc/taskd/tls + insopts -m0600 insinto /etc/taskd doins "${FILESDIR}"/config + dosym /etc/taskd/config /var/lib/taskd/config + + insinto /etc/logrotate.d + newins "${FILESDIR}"/taskd.logrotate taskd } pkg_preinst() { @@ -72,4 +80,6 @@ pkg_postinst() { ewarn "Do not use 'taskd init' as this will replace the config file and set" ewarn "default but unsuitable paths" ewarn "" + ewarn "In order to manage taskd via 'taskd' either relogin or run 'source /etc/profile'" + ewarn "" } |