summarylogtreecommitdiffstats
path: root/wiki-js.service
blob: 85632508e153fb9ef6f87e3d5ffc7ed13816246e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Wiki.js
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/node server
Restart=always
User=wiki-js
Environment=NODE_ENV=production
Environment=CONFIG_FILE=/etc/wiki-js/config.yml
WorkingDirectory=/usr/lib/wiki-js

[Install]
WantedBy=multi-user.target