~ubuntu-branches/debian/sid/checkbox-ng/sid

« back to all changes in this revision

Viewing changes to contrib/checkbox-ci-installed-notifier.service

  • Committer: Package Import Robot
  • Author(s): Zygmunt Krynicki
  • Date: 2015-07-21 13:21:12 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20150721132112-amf111h2y2vfv9q8
Tags: 0.20-1
* New upstream release 
* debian/control: Use the new email address for the team
  (checkbox-devel@lists.ubuntu.com). 
* debian/patches/documentation-theme: refresh
* debian/patches/fix-tests-on-python35: drop (applied upstream)
* debian/control: require plainbox 0.22 or more recent (new APIs and fixes) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[Unit]
 
2
Description=CheckBox SRU mini CI notifier
 
3
After=network-online.target
 
4
# CheckBox mini CI notifier.
 
5
#
 
6
# This waits for a the "Network is Online" target and then
 
7
# uses curl to post the test starting notification
 
8
# to a configurable CGI URL. The CGI can do whatever it
 
9
# wants, such as checking the test is run or not.
 
10
#
 
11
# An /etc/default/plainbox-ci-mailer config file
 
12
# with the SUBMIT_CGI variable defined is expected.
 
13
 
 
14
[Service]
 
15
Type=oneshot
 
16
#Type=simple # It does not work with this
 
17
Environment=CHECKBOX_SERVER_CONF=/lib/systemd/system/checkbox-sru.service
 
18
Environment=CHECKBOX_DESKTOP_XDG=/etc/xdg/autostart/checkbox-sru.desktop
 
19
ExecStartPre=/bin/sh -ec '[ -f /etc/default/plainbox-ci-mailer ] || exit 1'
 
20
ExecStartPre=/bin/sh -ec '[ -x /usr/bin/curl ] || exit 1'
 
21
ExecStart=/usr/bin/checkbox-ci-script.sh notification
 
22
 
 
23
[Install]
 
24
WantedBy=multi-user.target