mtp

Merge lp:~stgraber/mtp/upstart-fixes into lp:mtp

Proposed by Stéphane Graber
Status: Merged
Approved by: Francis Ginther
Approved revision: 33
Merged at revision: 33
Proposed branch: lp:~stgraber/mtp/upstart-fixes
Merge into: lp:mtp
Diff against target: 47 lines (+10/-4)
3 files modified
debian/changelog (+9/-0)
debian/mtp-server.conf (+1/-2)
debian/mtp-server.mtp-server-bootup.upstart (+0/-2)
To merge this branch: bzr merge lp:~stgraber/mtp/upstart-fixes
Reviewer Review Type Date Requested Status
Oliver Grawert Approve
PS Jenkins bot continuous-integration Approve
Loïc Minier Approve
Review via email: mp+187587@code.launchpad.net

Commit message

Fix some upstart issues.

Description of the change

Fix some upstart issues.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Loïc Minier (lool) wrote :

LGTM

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)
Revision history for this message
Oliver Grawert (ogra) wrote :

looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-09-18 14:38:45 +0000
3+++ debian/changelog 2013-09-25 19:41:58 +0000
4@@ -1,3 +1,12 @@
5+mtp (0.0.1+13.10.20130918-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * Fix upstart jobs. The system job was marked as task but wasn't a
8+ task and was therefore keeping lxc-android-config in post-start. The
9+ user job was working fine, but was backgrounding the process on the exec
10+ line instead of just letting upstart track it directly.
11+
12+ -- Stéphane Graber <stgraber@ubuntu.com> Wed, 25 Sep 2013 15:39:21 -0400
13+
14 mtp (0.0.1+13.10.20130918-0ubuntu1) saucy; urgency=low
15
16 [ Oliver Grawert ]
17
18=== modified file 'debian/mtp-server.conf'
19--- debian/mtp-server.conf 2013-09-10 15:55:18 +0000
20+++ debian/mtp-server.conf 2013-09-25 19:41:58 +0000
21@@ -2,7 +2,6 @@
22
23 start on :sys:android_usb-device-changed
24
25-expect fork
26 respawn
27
28 pre-start script
29@@ -15,4 +14,4 @@
30 rm -f ~/.cache/upstart/mtp-server.log
31 end script
32
33-exec /usr/bin/mtp-server &
34+exec /usr/bin/mtp-server
35
36=== modified file 'debian/mtp-server.mtp-server-bootup.upstart'
37--- debian/mtp-server.mtp-server-bootup.upstart 2013-09-18 14:08:04 +0000
38+++ debian/mtp-server.mtp-server-bootup.upstart 2013-09-25 19:41:58 +0000
39@@ -3,8 +3,6 @@
40 start on android
41 stop on runlevel [06]
42
43-task
44-
45 emits android_usb-device-changed
46
47 pre-start script

Subscribers

People subscribed via source and target branches