diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2025-11-11 14:14:48 +0100 |
|---|---|---|
| committer | Your Name <you@example.com> | 2025-11-13 19:07:45 +0100 |
| commit | f10e48a8d8d0cdca589c9d73791b9a46e896425d (patch) | |
| tree | 97055c143dffa352cec1a3e122a9061584a1e324 /pajser-bot.service | |
Initial commit
Diffstat (limited to 'pajser-bot.service')
| -rw-r--r-- | pajser-bot.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pajser-bot.service b/pajser-bot.service new file mode 100644 index 0000000..fd6d1ae --- /dev/null +++ b/pajser-bot.service @@ -0,0 +1,19 @@ +[Unit] +Description=Discord Music Bot (Pajser) +After=network.target + +[Service] +Type=simple +User=pajser +WorkingDirectory=/home/pajser/pajser +ExecStart=/usr/bin/node index.js +Restart=always +RestartSec=10 +StandardOutput=journal +StandardError=journal +SyslogIdentifier=pajser-bot + +Environment=NODE_ENV=production + +[Install] +WantedBy=multi-user.target |
