-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.array
79 lines (74 loc) · 1.84 KB
/
services.array
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
granian=(
[system_packages]="py:granian"
[command]="granian --host 0.0.0.0 --port 8080 --interface asgi /bash-init/apps/granian/main:app"
[restart]="on-failure"
[stop_signal]="SIGTERM"
[probe]="http:127.0.0.1:8080:/:GET:200"
[success_exit]=0
[python_virtualenv_params]=
[probe_interval]=15
[probe_retries]=5
[depends]=
[runas]="1000:1000"
[probe_as_dependency]=0
[probe_failure_action]="restart"
[reload_signal]="SIGHUP"
)
redis=(
[system_packages]="redis"
[command]="redis-server"
[restart]="on-failure"
[stop_signal]="SIGTERM"
[probe]="http:debinux.de:80:/:GET:301"
[success_exit]=0
[probe_retries]=5
[probe_as_dependency]=0
[probe_failure_action]="reload"
[reload_signal]="SIGHUP"
)
sleep=(
[system_packages]="procps,pstree"
[command]="sleep"
[restart]="never"
[stop_signal]="SIGTERM"
[runas]="1000:1000"
[reload_signal]=0
)
stress_ng=(
[system_packages]="stress-ng,procps,pstree"
[command]="stress-ng --vm 1 --vm-bytes 10M --vm-hang 0"
[restart]="on-failure"
[stop_signal]="SIGTERM"
[probe]="http:1.1.1.1:80:/:GET:301"
[success_exit]=0
[probe_retries]=3
[depends]="sleep"
[depends_grace_period]=10
[probe_failure_action]="restart"
[reload_signal]=0
[probe_as_dependency]=0
[probe_interval]=10
)
python=(
[system_packages]="py:textual"
[command]="python3 -m http.server 8081"
[restart]="on-failure"
[stop_signal]="SIGTERM"
[probe]="http:127.0.0.1:8080:/:GET:200"
[success_exit]=0
[probe_retries]=5
[http_probe_timeout]=3
[probe_failure_action]="restart"
[probe_interval]=1
)
oneshot=(
[system_packages]="go:github.com/raphaelreyna/oneshot@latest"
[command]="oneshot -u"
[restart]="always"
[stop_signal]="SIGTERM"
[probe]="http:127.0.0.1:8080:/:GET:200"
[probe_retries]=3
[http_probe_timeout]=3
[probe_failure_action]="restart"
[probe_interval]=1
)