From 02a81b7276a1795e916c364805534243d848d105 Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Thu, 2 Apr 2020 23:25:36 -0500 Subject: [PATCH] Add systemd service file --- mercuryms.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mercuryms.service diff --git a/mercuryms.service b/mercuryms.service new file mode 100644 index 0000000..160d31e --- /dev/null +++ b/mercuryms.service @@ -0,0 +1,10 @@ +[Unit] +Description=MercuryMS Webhook Server +After=network.target + +[Service] +Type=simple +ExecStart=/opt/mercuryms/bin/python /opt/mercuryms/mms-download.py + +[Install] +WantedBy=multi-user.target -- 2.20.1