From dd4210ae760e0f10be79deba2602ced80859e948 Mon Sep 17 00:00:00 2001 From: SimonFJ20 Date: Thu, 26 Sep 2024 01:43:05 +0200 Subject: [PATCH] add service --- bunker.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bunker.service diff --git a/bunker.service b/bunker.service new file mode 100644 index 0000000..ec0310b --- /dev/null +++ b/bunker.service @@ -0,0 +1,13 @@ +[Unit] +Description=Bunker webservice + +[Service] +Type=simple +User=simone +ExecStart=/home/simone/bunker/bunker +WorkingDirectory=/home/simone/bunker/ +Restart=on-failure +Environment="PORT=8200" + +[Install] +WantedBy=default.target