bundlewrap/bundles/mx-puppet-discord/files/service

16 lines
408 B
Text
Raw Normal View History

[Unit]
Description=mx-puppet-discord
After=network.target
Requires=postgresql.service
[Service]
User=mx-puppet-discord
Group=mx-puppet-discord
ExecStart=/usr/bin/node /opt/mx-puppet-discord/src/build/index.js -c /opt/mx-puppet-discord/config.yaml -f /opt/mx-puppet-discord/registration.yaml
WorkingDirectory=/opt/mx-puppet-discord/src/
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target