bundles/mx-puppet-discord: add systemd unit file
This commit is contained in:
parent
629c38230c
commit
081fafc64e
2 changed files with 27 additions and 0 deletions
13
bundles/mx-puppet-discord/files/service
Normal file
13
bundles/mx-puppet-discord/files/service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=mx-puppet-discord
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=mx-puppet-discord
|
||||
Group=mx-puppet-discord
|
||||
ExecStart=/usr/bin/node /opt/mx-puppet-discord/build/index.js -c config.yaml
|
||||
WorkingDirectory=/opt/mx-puppet-discord/
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue