Skip to content
Extraits de code Groupes Projets
hedgedocs.service 448 octets
Newer Older
# {{ ansible_managed }}

nono's avatar
nono a validé
[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