maemo: Create DBUS service file with correct path to charon.
This commit is contained in:
@@ -19,5 +19,9 @@ libstrongswan_maemo_la_LIBADD = ${maemo_LIBS}
|
||||
|
||||
dbusservice_DATA = org.strongswan.charon.service
|
||||
|
||||
EXTRA_DIST = $(dbusservice_DATA)
|
||||
org.strongswan.charon.service: $(srcdir)/org.strongswan.charon.service.in
|
||||
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' $< >$@
|
||||
|
||||
EXTRA_DIST = org.strongswan.charon.service.in
|
||||
CLEANFILES = $(dbusservice_DATA)
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[D-BUS Service]
|
||||
Name=org.strongswan.charon
|
||||
Exec=/usr/bin/run-standalone.sh /usr/libexec/ipsec/charon
|
||||
User=root
|
||||
@@ -0,0 +1,4 @@
|
||||
[D-BUS Service]
|
||||
Name=org.strongswan.charon
|
||||
Exec=/usr/bin/run-standalone.sh @LIBEXECDIR@/ipsec/charon
|
||||
User=root
|
||||
Reference in New Issue
Block a user