bundlewrap/bundles/mx-puppet-discord/files/service
Franzi 638e37c05f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: add Requires=postgresql.service to some services which require postgresql
2021-02-12 13:28:52 +01:00

16 lines
408 B
Plaintext

[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