ansible/roles/codimd/templates/systemd/codimd.service.j2
2019-02-05 12:42:05 +01:00

19 lines
501 B
Django/Jinja

# /etc/systemd/system/etherpad-lite.service
# Deployed with Aurore Ansible !
[Unit]
Description=Etherpad-lite, the collaborative editor.
After=syslog.target network-online.target mysql.service postgresql.service
Conflicts=shutdown.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/var/local/etherpad/etherpad-lite
ExecStart=/usr/bin/nodejs /var/local/etherpad/etherpad-lite/node_modules/ep_etherpad-lite/node/server.js
Restart=always
[Install]
WantedBy=multi-user.target