From 3ba895d33aece613da054c56645fdf58a93bc8b2 Mon Sep 17 00:00:00 2001 From: GandC Snow Date: Thu, 21 Oct 2021 21:12:20 +0300 Subject: [PATCH] systemd service file --- irc_pc_info.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 irc_pc_info.service diff --git a/irc_pc_info.service b/irc_pc_info.service new file mode 100644 index 0000000..f0add22 --- /dev/null +++ b/irc_pc_info.service @@ -0,0 +1,13 @@ +[Unit] +Description=IRC pc info check +After=network.target + +[Service] +Type=simple +Restart=always +RestartSec=1 +User=bridgebot +ExecStart=/usr/bin/python3 /home/bridgebot/irc_pc_info_bot/bot.py #main GandC_central_stat 10.200.201.4 + +[Install] +WantedBy=multi-user.target