~pieq/checkbox/fix-1484872-env-variables-forced-to-non-international

« back to all changes in this revision

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

  • Committer: Zygmunt Krynicki
  • Date: 2014-12-19 12:11:52 UTC
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: zygmunt.krynicki@canonical.com-20141219121152-y9vtxajhrd6e1c3l
cep: merge CEPs in to trunk

This patch merges CEPs (aka Checkbox Enhancement Proposals) into trunk.
Those lived on separately for a while as lp:checkbox/cep but in
retrospective nobody knows about them and this should give them some
more exposure. In addition, the move allows new features to land a CEP
document along, making review of complex new features easier to make as
their specification can be seen alongside the patches that implement it.

Due to bazaar limitations in merging separate repositories together I've
discarded history entries (not that there were many) and just added
those files in directly.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

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