diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2017-01-20 09:34:27 +0100 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2017-01-20 09:34:53 +0100 |
commit | d4a61c24fdb0a4642b8dbc90292a7c4b128bbf28 (patch) | |
tree | 7a64d155a44f493722b1cf5069966e1d2205d64a /media-video/motion | |
parent | media-libs/gst-plugins-bad: Remove old (diff) | |
download | gentoo-d4a61c24fdb0a4642b8dbc90292a7c4b128bbf28.tar.gz gentoo-d4a61c24fdb0a4642b8dbc90292a7c4b128bbf28.tar.bz2 gentoo-d4a61c24fdb0a4642b8dbc90292a7c4b128bbf28.zip |
media-video/motion: fix reference to wrong init script, thanks to Sven Schwyn <svoop@delirium.ch> for the headsup.
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-video/motion')
-rw-r--r-- | media-video/motion/motion-4.0.1-r1.ebuild (renamed from media-video/motion/motion-4.0.1.ebuild) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/media-video/motion/motion-4.0.1.ebuild b/media-video/motion/motion-4.0.1-r1.ebuild index e82099351ae5..b866f050d0ab 100644 --- a/media-video/motion/motion-4.0.1.ebuild +++ b/media-video/motion/motion-4.0.1-r1.ebuild @@ -30,7 +30,11 @@ DEPEND="${RDEPEND} DISABLE_AUTOFORMATTING="yes" DOC_CONTENTS="You need to setup /etc/${PN}/${PN}.conf before running -${PN} for the first time. +${PN} for the first time. You can use /etc/${PN}/${PN}-dist.conf as a +template. Please note that the 'daemon' and 'process_id_file' settings +are overridden by the bundled OpenRC init script and systemd unit where +appropriate. + To install ${PN} as a service, use: rc-update add ${PN} default # with OpenRC systemctl enable ${PN}.service # with systemd @@ -64,7 +68,7 @@ src_install() { examplesdir=/usr/share/doc/${PF}/examples \ install - newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r3 ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN} systemd_dounit "${FILESDIR}"/${PN}.service @@ -75,7 +79,5 @@ src_install() { fowners motion:video /var/lib/motion fperms 0750 /var/lib/motion - mv -vf "${D}"/etc/${PN}/${PN}{-dist,}.conf || die - readme.gentoo_create_doc } |