#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.
#define BUS_NAME "org.freedesktop.systemd1" |
#define BUS_NAME_MANAGER BUS_NAME ".Manager" |
#define BUS_PATH "/org/freedesktop/systemd1" |
#define SYSTEMD_OVERRIDE_ROOT "/run/systemd/system/" |
#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.
void systemd_cleanup |
( |
void |
| ) |
|
gboolean systemd_unit_exec_with_unit |
( |
svc_action_t * |
op, |
|
|
const char * |
unit |
|
) |
| |
gboolean systemd_unit_exists |
( |
const char * |
name | ) |
|
GList* systemd_unit_listall |
( |
void |
| ) |
|