This repository has been archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.yml
40 lines (38 loc) · 1.52 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: MtCamlX
slug: mtcamlx
authors:
- Christoph Egger <egger@cs.fau.de>
install:
debian_packages:
- telnetd
- libev4
- sqlite3
postinst_commands:
- systemctl disable inetd
- systemctl enable mtcamlx-frontend.socket
- systemctl enable mtcamlx-messages.service
- systemctl enable mtcamlx-trading.service
- systemctl enable mtcamlx-authentication.service
- systemctl enable mtcamlx-keygen.service
- adduser --system --home /srv/mtcamlx/trading --ingroup mtcamlx --disabled-login --no-create-home mtcamlx-trading
- mkdir -p /srv/mtcamlx/trading/data
- chown mtcamlx-trading:adm /srv/mtcamlx/trading/data
- chmod 750 /srv/mtcamlx/trading/data
- adduser --system --home /srv/mtcamlx/authentication --ingroup mtcamlx --disabled-login --no-create-home mtcamlx-authentication
- mkdir -p /srv/mtcamlx/authentication/data
- chown mtcamlx-authentication:adm /srv/mtcamlx/authentication/data
- chmod 750 /srv/mtcamlx/authentication/data
- adduser --system --home /srv/mtcamlx/messages --ingroup mtcamlx --disabled-login --no-create-home mtcamlx-messages
- mkdir -p /srv/mtcamlx/messages/data
- chown mtcamlx-messages:adm /srv/mtcamlx/messages/data
- chmod 750 /srv/mtcamlx/messages/data
- mkdir -p /srv/mtcamlx/frontend/data
- chown mtcamlx:adm /srv/mtcamlx/frontend/data
- chmod 750 /srv/mtcamlx/frontend/data
prevent_outgoing_connections: True
checker:
module: mtcamlx
class: MtCamlXChecker
debian_packages:
- python3-pexpect
- telnet