Browse Source

new: [jabber] WIP

postgres
Valentin Lab 10 years ago
parent
commit
957af037f6
  1. 19
      precise/jabber/hooks/install
  2. 3
      precise/jabber/hooks/start
  3. 3
      precise/jabber/hooks/stop
  4. 10
      precise/jabber/metadata.yaml
  5. 1
      precise/jabber/revision
  6. 3
      precise/jabber/shorewall

19
precise/jabber/hooks/install

@ -0,0 +1,19 @@
#!/bin/bash
set -eux # -x for verbose logging to juju debug-log
apt-get update
apt-get -y install ejabberd
## Should set things as:
## /etc/ejabberd/ejabberd.cfg
## And set superuser password with:

3
precise/jabber/hooks/start

@ -0,0 +1,3 @@
#!/bin/bash
juju-log "Nothing to Start for base."

3
precise/jabber/hooks/stop

@ -0,0 +1,3 @@
#!/bin/bash
juju-log "Nothing to stop for base."

10
precise/jabber/metadata.yaml

@ -0,0 +1,10 @@
name: mumble
summary: "Jabber server"
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
inherit: base-0k
description: |
Jabber Server
config-resources:
- /etc/ejabberd
data-resources:
- /var/lib/ejabberd

1
precise/jabber/revision

@ -0,0 +1 @@
0

3
precise/jabber/shorewall

@ -0,0 +1,3 @@
DNAT net lan:%%NAME%%:5222 tcp 5222
DNAT net lan:%%NAME%%:5269 tcp 5269
Loading…
Cancel
Save