summarylogtreecommitdiffstats
path: root/restbase.service
blob: 08179abc602c4114390ed84d0df71c9697cd760d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Mediawiki RESTBase Service
Documentation=https://www.mediawiki.org/wiki/RESTBase
Wants=local-fs.target network.target
After=local-fs.target network.target

[Install]
WantedBy=multi-user.target

[Service]
Type=simple
User=restbase
Group=restbase
WorkingDirectory=/usr/share/webapps/restbase
ExecStart=/usr/bin/node /usr/share/webapps/restbase/server.js
KillMode=process
Restart=on-success
PrivateTmp=true
StandardOutput=syslog