1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/cronie/cronie-openrc.post-install
2023-01-07 09:37:08 +01:00

17 lines
490 B
Bash

#!/bin/sh
if rc-status -a | grep -q crond; then
cat >&2 <<-EOF
*
* you have installed the cronie openrc service,
* but the "crond" service is detected as running/enabled.
* if you wish to use cronie, ensure that you remove the "crond"
* service:
* rc-update del crond
* and enable the "cronie" service:
* rc-update add cronie
* keeping cronie installed while using the "crond" service
* will instead start cronie with potentially different arguments
* than expected.
EOF
fi