File: install

package info (click to toggle)
rspamd 3.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 35,064 kB
  • sloc: ansic: 247,728; cpp: 107,741; javascript: 31,385; perl: 3,089; asm: 2,512; pascal: 1,625; python: 1,510; sh: 589; sql: 313; makefile: 195; xml: 74
file content (20 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download | duplicates (3)
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

# rspamd_url_init is compiling a lot of TLD suffixes on the first start. It
# might take a long time and will delay the workers start.
sleep 15

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