summarylogtreecommitdiffstats
path: root/parsoid.service
blob: ff1cde35d315f89a7ff53c0a5857196a2e249155 (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
25
26
27
28
[Unit]
Description=Mediawiki Parsoid web service on node.js
Documentation=http://www.mediawiki.org/wiki/Parsoid
Wants=local-fs.target network.target
After=local-fs.target network.target
 
[Install]
WantedBy=multi-user.target
 
[Service]
Type=simple
WorkingDirectory=/usr/share/webapps/parsoid
ExecStart=/usr/bin/node /usr/share/webapps/parsoid/bin/server.js
KillMode=process
Restart=on-success
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
CapabilityBoundingSet=
ReadOnlyPaths=/
ReadWritePaths=/run
ReadWritePaths=/usr/share/webapps/parsoid
StandardOutput=syslog

[Install]
WantedBy=multi-user.target