#include <crm_internal.h>
#include <crm/crm.h>
#include <crm/services.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" |
◆ 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 609 of file systemd.c.
◆ systemd_cleanup()
void systemd_cleanup |
( |
void |
| ) |
|
◆ systemd_unit_exec()
◆ systemd_unit_exec_with_unit()
gboolean systemd_unit_exec_with_unit |
( |
svc_action_t * |
op, |
|
|
const char * |
unit |
|
) |
| |
◆ systemd_unit_exists()
gboolean systemd_unit_exists |
( |
const char * |
name | ) |
|
◆ systemd_unit_listall()
GList* systemd_unit_listall |
( |
void |
| ) |
|