diff --git a/systemd/lorahandler.service b/systemd/lorahandler.service new file mode 100644 index 0000000..0fbca3e --- /dev/null +++ b/systemd/lorahandler.service @@ -0,0 +1,15 @@ +[Unit] +Description=Lorahandler web service +After=syslog.target +After=network.target redis.service + +[Service] +Type=simple +User=beieli +Group=beieli +WorkingDirectory=/home/beieli/lorahandler +ExecStart=/home/beieli/lorahandler/lorahandler +Restart=always + +[Install] +WantedBy=multi-user.target