~unity-team/bamf/trunk

« back to all changes in this revision

Viewing changes to data/bamfdaemon-dbus-runner.in

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-10 15:48:21 UTC
  • mfrom: (613.2.9 upstart-support)
  • Revision ID: ci-train-bot@canonical.com-20151210154821-a6m74z8e6w2i1bvl
BamfDaemon: add upstart session support
Approved by: Andrea Azzarone, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
if [ -n "$UPSTART_SESSION" ]; then
 
4
  /sbin/initctl start bamfdaemon
 
5
else
 
6
  @PKGLIBEXECDIR@/bamfdaemon
 
7
fi