#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 <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.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:
" %s\n" \
"systemd unit file for %s" \
#define PCMK_ACTION_STATUS
#define PCMK_ACTION_META_DATA
#define PCMK_ACTION_START
#define PCMK_ACTION_MONITOR
#define PCMK_META_INTERVAL
#define PCMK_META_TIMEOUT
#define PCMK_DEFAULT_AGENT_VERSION
#define PCMK_XE_SHORTDESC
#define PCMK_XE_PARAMETERS
#define PCMK_XE_RESOURCE_AGENT
Definition at line 738 of file systemd.c.
◆ SYSTEMD_SERVICE_OVERRIDE
#define SYSTEMD_SERVICE_OVERRIDE |
Value: "\n" \
"[Service]\n" \
"Restart=no\n"
Definition at line 1029 of file systemd.c.
◆ SYSTEMD_UNIT_OVERRIDE_TEMPLATE
#define SYSTEMD_UNIT_OVERRIDE_TEMPLATE |
Value: "[Unit]\n" \
"Description=Cluster Controlled %s\n" \
"Before=pacemaker.service pacemaker_remote.service\n"
Definition at line 1024 of file systemd.c.
◆ services__execute_systemd()
◆ services__systemd2ocf()
◆ services__systemd_prepare()
◆ systemd_cleanup()
void systemd_cleanup |
( |
void | | ) |
|
◆ systemd_unit_exists()
bool systemd_unit_exists |
( |
const char * | name | ) |
|
◆ systemd_unit_listall()
GList * systemd_unit_listall |
( |
void | | ) |
|