hedgedocs.service 423 Bytes
Newer Older
nono's avatar
nono committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=HedgeDocs collaborative markdown notes
Documentation=https://github.com/hedgedoc/hedgedoc/
After=network.target
After=postgresql.service


[Service]
Type=exec
RestartSec=2s
User=hedgedocs
Group=www-data
# the location you cloned CodiMD to.
WorkingDirectory=/home/hedgedocs
ExecStart=/usr/bin/npm start --production
Restart=always
PrivateTmp=true
PrivateDevices=true

[Install]
WantedBy=multi-user.target