2018-01-24 15:18:55 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-09-14 10:33:07 +02:00
|
|
|
if [ -e /run/openrc/started/ushahidi ]; then
|
2018-09-16 19:59:01 +02:00
|
|
|
lxc-attach -u 8014 -g 8014 ushahidi -- sh -c 'cd /srv/ushahidi/platform; bin/ushahidi dataprovider outgoing' >/dev/null
|
|
|
|
lxc-attach -u 8014 -g 8014 ushahidi -- sh -c 'cd /srv/ushahidi/platform; bin/ushahidi dataprovider incoming' >/dev/null
|
|
|
|
lxc-attach -u 8014 -g 8014 ushahidi -- sh -c 'cd /srv/ushahidi/platform; bin/ushahidi savedsearch' >/dev/null
|
|
|
|
lxc-attach -u 8014 -g 8014 ushahidi -- sh -c 'cd /srv/ushahidi/platform; bin/ushahidi notification queue' >/dev/null
|
|
|
|
lxc-attach -u 8014 -g 8014 ushahidi -- sh -c 'cd /srv/ushahidi/platform; bin/ushahidi webhook send' >/dev/null
|
2018-04-09 15:20:20 +02:00
|
|
|
fi
|