summaryrefslogtreecommitdiff
path: root/pkg/server/soledad-server.service
blob: c3331dfdc84b9acf20cfa8b88446c8774b8af36b (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
[Unit]
Description=Soledad Server

[Service]
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin
Environment=HTTPS_PORT=2424
Environment=LOCAL_SERVICES_PORT=2525
Environment=CERT_PATH=/etc/soledad/soledad-server.pem
Environment=PRIVKEY_PATH=/etc/soledad/soledad-server.key
Environment=HOME=/var/lib/soledad/
Environment=SSL_METHOD=SSLv23_METHOD
EnvironmentFile=-/etc/default/soledad

ExecStart=/usr/bin/soledad-server

WorkingDirectory=/var/lib/soledad/

User=soledad
Group=soledad

Restart=always

[Install]
WantedBy=multi-user.target