From f10e48a8d8d0cdca589c9d73791b9a46e896425d Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Tue, 11 Nov 2025 14:14:48 +0100 Subject: Initial commit --- pajser-bot.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pajser-bot.service (limited to 'pajser-bot.service') 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 -- cgit v1.2.3