File: install

package info (click to toggle)
rspamd 3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,208 kB
  • sloc: ansic: 219,795; cpp: 60,575; javascript: 29,167; perl: 2,869; asm: 2,512; pascal: 1,610; python: 1,141; sql: 313; sh: 303; makefile: 135; xml: 74
file content (20 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

# refs: #914477
sleep 15

echo "+ systemctl status rspamd"
systemctl status rspamd
echo "+ systemctl is-enabled rspamd"
systemctl is-enabled rspamd
echo "+ systemctl is-active rspamd"
systemctl is-active rspamd

# refs: #914477
sleep 5

# TODO: more complicated tests ?
echo "+ curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334"
curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334