aboutsummaryrefslogtreecommitdiffstats
path: root/rspamd.service
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Require network-online target as wellVsevolod Stakhov2018-03-081-1/+1
|
* [Minor] debian: Update BD and refresh packagingSebastien Badia2017-05-131-0/+1
|
* [Minor] Support reload in systemd service fileAndrew Lewis2017-01-301-0/+1
|
* Implicit set LimitNOFILE as some versions of systemd do not parse 'infinity'...Steve Freegard2016-10-031-1/+1
|
* Remove open-file limit in systemd serviceSteve Freegard2016-10-031-0/+1
|
* [Fix] Remove Type=forking from systemd unit file (#709)Andrew Lewis2016-07-191-1/+0
|
* [Fix] Use non-blocking mode for systemd socketsVsevolod Stakhov2016-06-271-0/+2
| | | | | Issue: #430 Reported by: @Twilek-de
* [Minor] Add restart to systemd serviceVsevolod Stakhov2016-03-101-0/+1
| | | | | Issue: #91 Reported by: @damned-trooper
* Add runtime directory for systemdVsevolod Stakhov2015-12-181-0/+2
| | | | Suggested by: Denis Denisov
* Allow enabling rspamd during bootSkibbi2015-10-071-0/+3
| | | Currently it's not possible to enable rspamd during boot.
* Unify systemd supportMikhail Gusarov2015-03-111-9/+2
| | | | | | | - Move it from debian/ and centos/ - Ensure Debian package installs .service/.socket - Enable socket-activated service - Clean up redundant CentOS config files
* Add systemd unitMikhail Gusarov2014-03-291-0/+14
able28'>backport/47180/stable28 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/buildjsdocs.sh
blob: 57eefb29fd046e11c82e472089dd87291f23fddd (plain)
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
#!/usr/bin/env bash
#
# ownCloud
#
# Run JS tests
#
# @author Vincent Petry
# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
#
NPM="$(which npm 2>/dev/null)"
PREFIX="build"
OUTPUT_DIR="build/jsdocs"

JS_FILES="core/js/*.js core/js/**/*.js apps/*/js/*.js"

if test -z "$NPM"
then
	echo 'Node JS >= 0.8 is required to build the documentation' >&2
	exit 1
fi

# update/install test packages
mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" jsdoc || exit 3

JSDOC_BIN="$(which jsdoc 2>/dev/null)"

# If not installed globally, try local version
if test -z "$JSDOC_BIN"
then
	JSDOC_BIN="$PREFIX/node_modules/jsdoc/jsdoc.js"
fi

if test -z "$JSDOC_BIN"
then
	echo 'jsdoc executable not found' >&2
	exit 2
fi

mkdir -p "$OUTPUT_DIR"

NODE_PATH="$PREFIX/node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES