Commit 3cd58713 authored by Rex Dieter's avatar Rex Dieter
Browse files

Provide systemd user spice-vdagent.service

parent 67f3f3ed
Pipeline #362680 passed with stage
in 2 minutes and 34 seconds
......@@ -167,6 +167,10 @@ systemdunit_DATA = \
$(top_srcdir)/data/spice-vdagentd.service \
$(top_srcdir)/data/spice-vdagentd.socket
userunitdir = $(SYSTEMDUSERUNITDIR)
userunit_DATA = \
$(top_srcdir)/data/spice-vdagent.service
udevrulesdir = $(udevdir)/rules.d
udevrules_DATA = $(top_srcdir)/data/70-spice-vdagentd.rules
......@@ -185,6 +189,7 @@ EXTRA_DIST = \
CHANGELOG.md \
data/70-spice-vdagentd.rules \
data/spice-vdagent.desktop \
data/spice-vdagent.service \
data/spice-vdagentd \
data/spice-vdagentd.service \
data/spice-vdagentd.socket \
......
......@@ -64,7 +64,9 @@ AC_MSG_RESULT($with_init_script)
if test "x$init_systemd" = "xyes"; then
SYSTEMDSYSTEMUNITDIR=`${PKG_CONFIG} systemd --variable=systemdsystemunitdir`
SYSTEMDUSERUNITDIR=`${PKG_CONFIG} systemd --variable=systemduserunitdir`
AC_SUBST(SYSTEMDSYSTEMUNITDIR)
AC_SUBST(SYSTEMDUSERUNITDIR)
# earlier versions of systemd require a separate libsystemd-daemon library
PKG_CHECK_MODULES([LIBSYSTEMD_DAEMON],
[libsystemd >= 209],
......
[Unit]
Description=Spice guest session agent
[Service]
ExecStart=/usr/bin/spice-vdagent -x
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment