aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc/runscript.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 4676bd08..e07cf588 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -1318,6 +1318,12 @@ runscript(int argc, char **argv)
prefix = NULL;
retval = svc_exec("status", NULL);
} else {
+ if (strcmp(optarg, "pause") == 0) {
+ ewarn("WARNING: 'pause' is deprecated; please use '--nodeps stop'");
+ deps = false;
+ optarg = "stop";
+ }
+
if (strcmp(optarg, "conditionalrestart") == 0 ||
strcmp(optarg, "condrestart") == 0)
{