- install -d ${D}${sysconfdir}/systemd/user/default.target.wants
- ln -sf ${systemd_user_unitdir}/WebAppMgr.service ${D}${sysconfdir}/systemd/user/default.target.wants
-}
-
-pkg_postinst_${PN}_append() {
- chsmack -a "*" /usr/bin/WebAppMgr
- chsmack -a "*" /usr/lib/libWebAppMgr.so.1.0.0
- chsmack -a "*" /usr/lib/libWebAppMgrCore.so.1.0.0
- chsmack -a "*" /usr/lib/webappmanager/plugins/libwebappmgr-default-plugin.so
+ install -d ${D}${systemd_system_unitdir}/afm-user-session@.target.wants
+ ln -sf ../WebAppMgr@.service ${D}${systemd_system_unitdir}/afm-user-session@.target.wants/