summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 21:34:51 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 21:39:01 +0200
commitb4f10a5e8956d26f0bc6b9aef12846b57caee08b (patch)
tree48af50f3539c90a2877a33c731a4ef73be831fae /src/util.h
parentbc8c2f5c549084df93c061b061f1e5b0d9d7046c (diff)
install: various improvements
Rename --start to --realize, to make things less confusing when doing "systemctl stop --realize foo.service". Introduce --realize=reload. Don't talk to systemd when run within a chroot, or when systemd isn't running.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5d51c07e2f..1a4c440ba5 100644
--- a/src/util.h
+++ b/src/util.h
@@ -330,6 +330,8 @@ void status_welcome(void);
int columns(void);
+int running_in_chroot(void);
+
const char *ioprio_class_to_string(int i);
int ioprio_class_from_string(const char *s);