diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-30 15:09:34 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-30 15:09:34 +0300 |
commit | a07baae49910b4a40dccf09589f3532ac05f28ce (patch) | |
tree | 451bfa7a77ef4772b3e1684e6d72372bcd747be8 /systemd/polaris_kettle_bot.service | |
parent | 8f20c9b825cabab7a3f0f5dd2cfe000cc7f72c28 (diff) |
systemd: add service file for polaris_kettle_bot
Diffstat (limited to 'systemd/polaris_kettle_bot.service')
-rw-r--r-- | systemd/polaris_kettle_bot.service | 12 |
1 files changed, 12 insertions, 0 deletions
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 |