diff options
Diffstat (limited to 'net-p2p/xmr-stak/xmr-stak-9999.ebuild')
-rw-r--r-- | net-p2p/xmr-stak/xmr-stak-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-p2p/xmr-stak/xmr-stak-9999.ebuild b/net-p2p/xmr-stak/xmr-stak-9999.ebuild index 0b8976d77f85..8a521d6793d7 100644 --- a/net-p2p/xmr-stak/xmr-stak-9999.ebuild +++ b/net-p2p/xmr-stak/xmr-stak-9999.ebuild @@ -50,6 +50,7 @@ src_configure() { src_install() { cmake-utils_src_install systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service + doinitd "${FILESDIR}"/${PN} dodir /etc/xmr-stak } @@ -60,7 +61,7 @@ pkg_postinst() { ewarn "As root or as a user that is a member of the 'video' group," fi ewarn "run:" - ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config" - ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used." + ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt" + ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used." fi } |