From 1d4bd2334745f8a80e720ad12e45e4fb8ba557bd Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 30 Jun 2022 21:18:25 +0200 Subject: [PATCH] added example for service file --- school-portal-substitution-plan-browser.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 school-portal-substitution-plan-browser.service diff --git a/school-portal-substitution-plan-browser.service b/school-portal-substitution-plan-browser.service new file mode 100644 index 0000000..f3c9e69 --- /dev/null +++ b/school-portal-substitution-plan-browser.service @@ -0,0 +1,10 @@ +[Unit] +Description=Browser automatisation for School portal substitution plan + +[Service] +KillSignal=SIGQUIT +WorkingDirectory=/home/school-portal-substitution-plan/school-portal-substitution-plan-browser/ +ExecStart=python3.8 /home/school-portal-substitution-plan/school-portal-substitution-plan-browser/main.py + +[Install] +WantedBy=multi-user.target \ No newline at end of file