ansible/roles/codimd/templates/systemd/codimd.service.j2
Hadrien Patte 5f08a7522e
Fix: blank lines and trailing spaces
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-02 12:07:48 +01:00

18 lines
387 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=CodiMD
After=syslog.target network-online.target mysql.service postgresql.service
Conflicts=shutdown.target
[Service]
Type=simple
User=codimd
Group=codimd
WorkingDirectory=/var/local/codimd/codimd
Environment="NODE_ENV=production"
ExecStart=/usr/bin/nodejs /var/local/codimd/codimd/app.js
Restart=always
[Install]
WantedBy=multi-user.target