summarylogtreecommitdiffstats
path: root/outline.service
blob: 6ab60ff203f52c180f46f19ae3d8d72715e01b94 (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=Outline server
After=network.target

[Service]
User=outline
Group=outline

Type=simple
Environment="NODE_ENV=production"
ExecStart=/usr/bin/node /usr/share/webapps/outline/index.js --name outline
WorkingDirectory=/usr/share/webapps/outline
LimitNOFILE=1048576
LimitNPROC=64
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/usr/share/webapps/outline

[Install]
WantedBy=multi-user.target