summarylogtreecommitdiffstats
path: root/outline.service
blob: 9664e5b27894d21219c13994e44d0dc953e73a0d (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/yarn start
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