Bugfix: construct redirect URLs using net/url
[debiancodesearch.git] / dcs-common.service
blob518562549431d616e95873069079b80a3ce72f5b
1 # This file contains attributes that are common to all DCS jobs.
2 # It should not be started directly, it is included from other files.
4 [Service]
5 Environment=GOMAXPROCS=4
7 User=dcs
8 Group=dcs
10 # Redirecting stdout to /dev/null because it’s very verbose.
11 # It makes sense to enable it on demand for debugging only.
12 StandardOutput=null
13 StandardError=journal
15 RestartSec=1
16 # Restart=on-failure will not restart upon SIGPIPE, so we use Restart=always
17 # and only whitelist exit code 0:
18 Restart=always
19 RestartPreventExitStatus=0
20 # Allow infinite restarts, even within a short time.
21 StartLimitInterval=0