]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/special.h
journalctl: always show monotonic timestamp even if it's from an old boot
[thirdparty/systemd.git] / src / special.h
CommitLineData
03467c88 1/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
514f4ef5
LP
2
3#ifndef foospecialhfoo
4#define foospecialhfoo
5
6/***
7 This file is part of systemd.
8
9 Copyright 2010 Lennart Poettering
10
11 systemd is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15
16 systemd is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23***/
24
25#define SPECIAL_DEFAULT_TARGET "default.target"
26
f1dd0c3f
LP
27/* Shutdown targets */
28#define SPECIAL_UMOUNT_TARGET "umount.target"
514f4ef5
LP
29/* This is not really intended to be started by directly. This is
30 * mostly so that other targets (reboot/halt/poweroff) can depend on
31 * it to bring all services down that want to be brought down on
32 * system shutdown. */
33#define SPECIAL_SHUTDOWN_TARGET "shutdown.target"
177b3ffe
LP
34#define SPECIAL_HALT_TARGET "halt.target"
35#define SPECIAL_POWEROFF_TARGET "poweroff.target"
36#define SPECIAL_REBOOT_TARGET "reboot.target"
37#define SPECIAL_KEXEC_TARGET "kexec.target"
38#define SPECIAL_EXIT_TARGET "exit.target"
514f4ef5 39
f1dd0c3f 40/* Special boot targets */
177b3ffe
LP
41#define SPECIAL_RESCUE_TARGET "rescue.target"
42#define SPECIAL_EMERGENCY_TARGET "emergency.target"
514f4ef5 43
f1dd0c3f 44/* Early boot targets */
177b3ffe
LP
45#define SPECIAL_SYSINIT_TARGET "sysinit.target"
46#define SPECIAL_SOCKETS_TARGET "sockets.target"
514f4ef5 47#define SPECIAL_LOCAL_FS_TARGET "local-fs.target" /* LSB's $local_fs */
21e557ed 48#define SPECIAL_LOCAL_FS_PRE_TARGET "local-fs-pre.target"
514f4ef5 49#define SPECIAL_REMOTE_FS_TARGET "remote-fs.target" /* LSB's $remote_fs */
21e557ed 50#define SPECIAL_REMOTE_FS_PRE_TARGET "remote-fs-pre.target"
514f4ef5 51#define SPECIAL_SWAP_TARGET "swap.target"
177b3ffe
LP
52#define SPECIAL_BASIC_TARGET "basic.target"
53
f1dd0c3f 54/* LSB compatibility */
514f4ef5
LP
55#define SPECIAL_NETWORK_TARGET "network.target" /* LSB's $network */
56#define SPECIAL_NSS_LOOKUP_TARGET "nss-lookup.target" /* LSB's $named */
57#define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */
58#define SPECIAL_SYSLOG_TARGET "syslog.target" /* LSB's $syslog; Should pull in syslog.socket or syslog.service */
4466194c 59#define SPECIAL_TIME_SYNC_TARGET "time-sync.target" /* LSB's $time */
514f4ef5
LP
60#define SPECIAL_DISPLAY_MANAGER_SERVICE "display-manager.service" /* Debian's $x-display-manager */
61#define SPECIAL_MAIL_TRANSFER_AGENT_TARGET "mail-transfer-agent.target" /* Debian's $mail-{transport|transfer-agent */
4f7dcad3 62#define SPECIAL_HTTP_DAEMON_TARGET "http-daemon.target"
177b3ffe 63
f1dd0c3f 64/* Magic early boot services */
a9e1f5ec 65#define SPECIAL_FSCK_SERVICE "fsck@.service"
417e842d 66#define SPECIAL_QUOTACHECK_SERVICE "quotacheck.service"
0c380104 67#define SPECIAL_QUOTAON_SERVICE "quotaon.service"
177b3ffe
LP
68#define SPECIAL_REMOUNT_ROOTFS_SERVICE "remount-rootfs.service"
69
f1dd0c3f 70/* Services systemd relies on */
514f4ef5 71#define SPECIAL_DBUS_SERVICE "dbus.service"
8f6df3fa 72#define SPECIAL_DBUS_SOCKET "dbus.socket"
64f5002a 73#define SPECIAL_JOURNALD_SOCKET "systemd-journald.socket"
f1dd0c3f 74#define SPECIAL_SYSLOG_SOCKET "syslog.socket"
177b3ffe 75
f1dd0c3f 76/* Magic init signals */
177b3ffe
LP
77#define SPECIAL_KBREQUEST_TARGET "kbrequest.target"
78#define SPECIAL_SIGPWR_TARGET "sigpwr.target"
79#define SPECIAL_CTRL_ALT_DEL_TARGET "ctrl-alt-del.target"
514f4ef5 80
514f4ef5
LP
81/* For SysV compatibility. Usually an alias for a saner target. On
82 * SysV-free systems this doesn't exist. */
83#define SPECIAL_RUNLEVEL2_TARGET "runlevel2.target"
84#define SPECIAL_RUNLEVEL3_TARGET "runlevel3.target"
85#define SPECIAL_RUNLEVEL4_TARGET "runlevel4.target"
86#define SPECIAL_RUNLEVEL5_TARGET "runlevel5.target"
87
88#endif