Commit 90c02153 authored by Florent Revest's avatar Florent Revest

buteo-syncfw: Start msyncd after booster-qt5-signal to make sure the first...

buteo-syncfw: Start msyncd after booster-qt5-signal to make sure the first start doesn't stop in a SIGSEGV
parent 173e78e4
[Unit]
Description=Sync FW daemon
Requires=dbus.socket booster-qt5.service
After=pre-user-session.target booster-qt5.service booster-qt5-signal.service
[Service]
# -G (--global-syms) so that msyncd's plugins can find symbols in msyncd and
# in the libraries msyncd is linked to.
ExecStart=/usr/bin/invoker -G -o -s --type=qt5 /usr/bin/msyncd
Restart=always
[Install]
WantedBy=user-session.target
...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/buteo-syncfw" ...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/buteo-syncfw"
LICENSE = "LGPL-2.1+" LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=93ae0a8ec7ecf7709c725bd232bbafc6" LIC_FILES_CHKSUM = "file://COPYING;md5=93ae0a8ec7ecf7709c725bd232bbafc6"
SRC_URI = "git://git.merproject.org/mer-core/buteo-syncfw.git;protocol=https" SRC_URI = "git://git.merproject.org/mer-core/buteo-syncfw.git;protocol=https \
file://msyncd.service"
SRCREV = "ed05f850be3103231ff6cc3f78ae5b23bc504272" SRCREV = "ed05f850be3103231ff6cc3f78ae5b23bc504272"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
...@@ -17,6 +18,8 @@ do_configure_prepend() { ...@@ -17,6 +18,8 @@ do_configure_prepend() {
} }
do_install_append() { do_install_append() {
cp ${WORKDIR}/msyncd.service ${D}/usr/lib/systemd/user/msyncd.service
mkdir -p ${D}/usr/lib/systemd/user/default.target.wants mkdir -p ${D}/usr/lib/systemd/user/default.target.wants
ln -s ../msyncd.service ${D}/usr/lib/systemd/user/default.target.wants/ ln -s ../msyncd.service ${D}/usr/lib/systemd/user/default.target.wants/
} }
......
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