summarylogtreecommitdiffstats
path: root/jsreport.service
blob: 5ed7f8251b774ceee5a9723a527bbd9634e55df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=jsreport server
After=network.target

[Service]
User=jsreport
Group=jsreport

Type=simple
Environment="HOME=/opt/jsreport"
ExecStart=/opt/jsreport/jsreport start
WorkingDirectory=/opt/jsreport
LimitNOFILE=1048576
LimitNPROC=64
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/opt/jsreport

[Install]
WantedBy=multi-user.target