提交 1eb027bc 编写于 作者: S Simon Fels 提交者: GitHub

Merge pull request #360 from morphis/f/drop-user-init-jobs

Drop upstart/systemctl session jobs
start on started dbus
respawn
respawn limit 10 5
exec @SNAP_MOUNT_DIR@/anbox session-manager
[Unit]
Description=Anbox session manager
[Service]
Type=simple
ExecStart=@SNAP_MOUNT_DIR@/anbox session-manager
Restart=always
StartLimitIntervalSec=3
StartLimitBurst=1
[Install]
WantedBy=default.target
etc/X11/Xsession.d/68anbox
usr/share/upstart/sessions/anbox.conf
usr/lib/systemd/user/anbox.service
usr/lib/systemd/user/default.target.wants/anbox.service
......@@ -10,7 +10,7 @@ Vcs-Git: https://github.com/anbox/anbox.git
Package: anbox-common
Architecture: all
Depends: ${misc:Depends}, dbus-user-session
Depends: ${misc:Depends}
Description: Common files necessary for Anbox
.
This package contains necessary things which can't be shipped
......
......@@ -14,8 +14,6 @@ VERSION=$(shell dpkg-parsechangelog -SVersion)
override_dh_auto_configure:
override_dh_auto_build:
cat data/anbox.service.in | sed s:@SNAP_MOUNT_DIR@:/snap/bin:g > data/anbox.service
cat data/anbox.conf.in | sed s:@SNAP_MOUNT_DIR@:/snap/bin:g > data/anbox.conf
override_dh_install:
VERSION=$(shell dpkg-parsechangelog -SVersion)
......@@ -30,13 +28,6 @@ override_dh_install:
install -d $(CURDIR)/debian/tmp/etc/modules-load.d
install -m 0644 kernel/anbox.conf $(CURDIR)/debian/tmp/etc/modules-load.d
install -d $(CURDIR)/debian/tmp/usr/lib/systemd/user/default.target.wants
install -m 0644 data/anbox.service $(CURDIR)/debian/tmp/usr/lib/systemd/user/
ln -sf /usr/lib/systemd/user/anbox.service $(CURDIR)/debian/tmp/usr/lib/systemd/user/default.target.wants/anbox.service
install -d $(CURDIR)/debian/tmp/usr/share/upstart/sessions/
install -m 0644 data/anbox.conf $(CURDIR)/debian/tmp/usr/share/upstart/sessions/
install -d $(CURDIR)/debian/tmp/etc/X11/Xsession.d
install -m 0644 data/xsession.conf $(CURDIR)/debian/tmp/etc/X11/Xsession.d/68anbox
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册