diff options
| author | Simon Rettberg | 2013-09-18 15:05:07 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-09-30 13:26:31 +0200 |
| commit | af77b6c2c1430f00850cb15ed0eda0a0fb41e1df (patch) | |
| tree | ecd9f2adf4756b6ee7ae557f568d2399b7794f45 /remote/modules/dbus/templates | |
| parent | [polkit] polkit.build: +missing directory for opensuse (diff) | |
| download | tm-scripts-af77b6c2c1430f00850cb15ed0eda0a0fb41e1df.tar.gz tm-scripts-af77b6c2c1430f00850cb15ed0eda0a0fb41e1df.tar.xz tm-scripts-af77b6c2c1430f00850cb15ed0eda0a0fb41e1df.zip | |
[dbus] Create systemd service using a template instead of grabbing from running system
Also remove the ugly hack that moves /lib/systemd to /etc/systemd; this would only help
mixing systemd service files from the running system with our own -- trouble ahead!
Warn if /lib/systemd exists in the target build dir.
Diffstat (limited to 'remote/modules/dbus/templates')
| -rw-r--r-- | remote/modules/dbus/templates/dbus.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/remote/modules/dbus/templates/dbus.service b/remote/modules/dbus/templates/dbus.service new file mode 100644 index 00000000..b6e05271 --- /dev/null +++ b/remote/modules/dbus/templates/dbus.service @@ -0,0 +1,11 @@ +[Unit] +Description=D-Bus System Message Bus +Requires=dbus.socket +After=syslog.target + +[Service] +ExecStartPre=%UUIDGEN% --ensure +ExecStartPre=-/bin/rm -f /run/dbus/pid +ExecStart=%DAEMON% --system --address=systemd: --nofork --activation=systemd +ExecReload=%SEND% --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig +OOMScoreAdjust=-900 |
