app-emulation/anbox: anbox-session-manager as user service instead of system
This commit is contained in:
parent
1a5fab5811
commit
dbb9d09476
@ -95,7 +95,8 @@ src_install() {
|
|||||||
cmake_src_install
|
cmake_src_install
|
||||||
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
||||||
if use systemd; then
|
if use systemd; then
|
||||||
systemd_dounit "${FILESDIR}"/anbox-{{container,session}-manager.service,bridge.net{dev,work}}
|
systemd_dounit "${FILESDIR}"/anbox-{container-manager.service,bridge.net{dev,work}}
|
||||||
|
systemd_douserunit "${FILESDIR}"/anbox-session-manager.service
|
||||||
else
|
else
|
||||||
exeinto /usr/share/anbox
|
exeinto /usr/share/anbox
|
||||||
doexe "scripts/anbox-bridge.sh"
|
doexe "scripts/anbox-bridge.sh"
|
||||||
|
@ -97,7 +97,8 @@ src_install() {
|
|||||||
cmake_src_install
|
cmake_src_install
|
||||||
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
||||||
if use systemd; then
|
if use systemd; then
|
||||||
systemd_dounit "${FILESDIR}"/anbox-{{container,session}-manager.service,bridge.net{dev,work}}
|
systemd_dounit "${FILESDIR}"/anbox-{container-manager.service,bridge.net{dev,work}}
|
||||||
|
systemd_douserunit "${FILESDIR}"/anbox-session-manager.service
|
||||||
else
|
else
|
||||||
exeinto /usr/share/anbox
|
exeinto /usr/share/anbox
|
||||||
doexe "scripts/anbox-bridge.sh"
|
doexe "scripts/anbox-bridge.sh"
|
||||||
|
@ -97,7 +97,8 @@ src_install() {
|
|||||||
cmake_src_install
|
cmake_src_install
|
||||||
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
newbin "${FILESDIR}"/anbox-launch.sh anbox-launch
|
||||||
if use systemd; then
|
if use systemd; then
|
||||||
systemd_dounit "${FILESDIR}"/anbox-{{container,session}-manager.service,bridge.net{dev,work}}
|
systemd_dounit "${FILESDIR}"/anbox-{container-manager.service,bridge.net{dev,work}}
|
||||||
|
systemd_douserunit "${FILESDIR}"/anbox-session-manager.service
|
||||||
else
|
else
|
||||||
exeinto /usr/share/anbox
|
exeinto /usr/share/anbox
|
||||||
doexe "scripts/anbox-bridge.sh"
|
doexe "scripts/anbox-bridge.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user