mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
17 lines
490 B
Bash
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
|