blob: eb504d66da11ab7085a9e5d4eadc95635ab4a5dd (
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=Hedgedoc real-time collaborative markdown editor (frontend)
After=network.target
[Service]
Type=exec
Environment=NODE_ENV=production
Environment=PORT=3001
EnvironmentFile=/etc/hedgedoc2/settings.env
Restart=always
RestartSec=2s
User=hedgedoc2
Group=hedgedoc2
WorkingDirectory=/usr/share/webapps/hedgedoc2/frontend/dist/frontend/
ExecStart=/usr/bin/node server.js
[Install]
WantedBy=multi-user.target
|