Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit pax-utils |
7 |
inherit pax-utils systemd |
8 |
|
8 |
|
9 |
DESCRIPTION="The Great Internet Mersenne Prime Search" |
9 |
DESCRIPTION="The Great Internet Mersenne Prime Search" |
10 |
HOMEPAGE="http://mersenne.org/" |
10 |
HOMEPAGE="http://mersenne.org/" |
Lines 42-54
Link Here
|
42 |
|
42 |
|
43 |
newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps |
43 |
newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps |
44 |
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps |
44 |
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps |
|
|
45 |
systemd_dounit "${FILESDIR}/${PN}.service" |
45 |
} |
46 |
} |
46 |
|
47 |
|
47 |
pkg_postinst() { |
48 |
pkg_postinst() { |
48 |
echo |
49 |
echo |
49 |
einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the" |
50 |
einfo "You can use \`/etc/init.d/gimps start\` or \`systemctl start gimps\`" |
50 |
einfo "background at boot. Have a look at /etc/conf.d/gimps and check some" |
51 |
einfo "to start a GIMPS client in the background at boot. Have a look at" |
51 |
einfo "configuration options." |
52 |
einfo "/etc/conf.d/gimps and check some configuration options." |
52 |
einfo |
53 |
einfo |
53 |
einfo "If you don't want to use the init script to start gimps, remember to" |
54 |
einfo "If you don't want to use the init script to start gimps, remember to" |
54 |
einfo "pass it an additional command line parameter specifying where the data" |
55 |
einfo "pass it an additional command line parameter specifying where the data" |