# /etc/systemd/system/codimd.service # Deployed with Aurore Ansible ! [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