Turn Files into a streaming RPC, reduce maximum message size limit
[debiancodesearch.git] / dcs-source-backend.service
blob204637ea410eec8bce0d46ef3965de0988d11755
1 .include /lib/systemd/system/dcs-common.service
3 [Unit]
4 Description=Debian Code Search: source backend
6 [Service]
7 # Increase the maximum number of file descriptors since each query uses up to
8 # 1000 goroutines, and each of these inherits file descriptors.
9 LimitNOFILE=16384
10 ExecStart=/usr/bin/dcs-source-backend \
11   -unpacked_path=/dcs-ssd/unpacked/ \
12   -tls_cert_path=/usr/share/dcs/prod-cert.pem \
13   -tls_key_path=/usr/share/dcs/prod-key.pem
15 [Install]
16 WantedBy=multi-user.target