From a11efb2173959274aa7336107b024c58b5ecc4b8 Mon Sep 17 00:00:00 2001 From: Marius Pana Date: Fri, 16 Jan 2026 21:32:18 +0200 Subject: [PATCH] add systemd service defition --- privateburn.service.systemd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 privateburn.service.systemd diff --git a/privateburn.service.systemd b/privateburn.service.systemd new file mode 100644 index 0000000..25db70e --- /dev/null +++ b/privateburn.service.systemd @@ -0,0 +1,16 @@ +[Unit] +# /lib/systemd/system/privateburn.service +Description=PricvateBurn Node.js Application +After=syslog.target network.target + +[Service] +Type=simple +User=www-data +WorkingDirectory=/var/www/privateburn +Environment=NODE_ENV=production +ExecStart=/usr/bin/node server.js + +Restart=always + +[Install] +WantedBy=multi-user.target