#include <crm_internal.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/services.h>
#include <crm/services_internal.h>
#include <crm/common/mainloop.h>
#include <sys/stat.h>
#include <gio/gio.h>
#include <services_private.h>
#include <systemd.h>
#include <dbus/dbus.h>
#include <pcmk-dbus.h>
Go to the source code of this file.
◆ BUS_NAME
#define BUS_NAME "org.freedesktop.systemd1" |
◆ BUS_NAME_MANAGER
#define BUS_NAME_MANAGER BUS_NAME ".Manager" |
◆ BUS_NAME_UNIT
◆ BUS_PATH
#define BUS_PATH "/org/freedesktop/systemd1" |
◆ METADATA_FORMAT
Value: PCMK_XA_NAME "=\"%s\" " \
" %s\n" \
"systemd unit file for %s" \
#define PCMK_ACTION_META_DATA
#define PCMK_ACTION_MONITOR
#define PCMK_XE_PARAMETERS
#define PCMK_ACTION_STATUS
#define PCMK_ACTION_START
#define PCMK_META_TIMEOUT
#define PCMK_XE_SHORTDESC
#define PCMK_XE_RESOURCE_AGENT
#define PCMK_META_INTERVAL
#define PCMK_DEFAULT_AGENT_VERSION
Definition at line 668 of file systemd.c.
◆ SYSTEMD_OVERRIDE_ROOT
#define SYSTEMD_OVERRIDE_ROOT "/run/systemd/system/" |
◆ SYSTEMD_OVERRIDE_TEMPLATE
#define SYSTEMD_OVERRIDE_TEMPLATE |
Value:"[Unit]\n" \
"Description=Cluster Controlled %s\n" \
"Before=pacemaker.service pacemaker_remote.service\n" \
"\n" \
"[Service]\n" \
"Restart=no\n"
Definition at line 811 of file systemd.c.
◆ services__execute_systemd()
◆ services__systemd2ocf()
◆ services__systemd_prepare()
◆ systemd_cleanup()
void systemd_cleanup |
( |
void |
| ) |
|
◆ systemd_unit_exists()
gboolean systemd_unit_exists |
( |
const char * |
name | ) |
|
◆ systemd_unit_listall()
GList* systemd_unit_listall |
( |
void |
| ) |
|