From a07baae49910b4a40dccf09589f3532ac05f28ce Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 30 Jun 2022 15:09:34 +0300 Subject: systemd: add service file for polaris_kettle_bot --- systemd/polaris_kettle_bot.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd/polaris_kettle_bot.service (limited to 'systemd/polaris_kettle_bot.service') diff --git a/systemd/polaris_kettle_bot.service b/systemd/polaris_kettle_bot.service new file mode 100644 index 0000000..f91ed60 --- /dev/null +++ b/systemd/polaris_kettle_bot.service @@ -0,0 +1,12 @@ +[Unit] +Description=HomeKit Polaris PWK 1725CGLD smart kettle Telegram bot +After=network-online.target + +[Service] +Restart=on-failure +User=user +WorkingDirectory=/home/user +ExecStart=/home/user/homekit/src/polaris_kettle_bot.py + +[Install] +WantedBy=multi-user.target \ No newline at end of file -- cgit v1.2.3