DiscordBotLinuxMonitor 1.0.1__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DiscordBotLinuxMonitor
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: From discord channels: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)
5
5
  Home-page: https://github.com/QuentinCG/Linux-Monitor-Python-Library
6
6
  Author: Quentin Comte-Gaz
@@ -128,7 +128,7 @@ DISCORD_BOT_SERVICE_USER="discordbotlinuxmonitor"
128
128
  DISCORD_BOT_SERVICE_GROUP="discordbotlinuxmonitor"
129
129
  DISCORD_BOT_SERVICE_NAME="discord-bot"
130
130
  DISCORD_BOT_SERVICE_FILE="/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service"
131
- DISCORD_BOT_FOLDER="/opt/Discord/"
131
+ DISCORD_BOT_FOLDER="/opt/DiscordBot/"
132
132
 
133
133
  ### Add rights to user launching the library depending on what you want it to do ###
134
134
  # Only if this library should be able to reboot the server on demand:
@@ -167,7 +167,7 @@ Description=Discord Bot Linux Monitor Service
167
167
  After=network.target
168
168
 
169
169
  [Service]
170
- ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json
170
+ ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json --force_sync_on_startup False
171
171
  WorkingDirectory=$DISCORD_BOT_FOLDER
172
172
  User=$DISCORD_BOT_SERVICE_USER
173
173
  Group=$DISCORD_BOT_SERVICE_GROUP
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: DiscordBotLinuxMonitor
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: From discord channels: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)
5
5
  Home-page: https://github.com/QuentinCG/Linux-Monitor-Python-Library
6
6
  Author: Quentin Comte-Gaz
@@ -128,7 +128,7 @@ DISCORD_BOT_SERVICE_USER="discordbotlinuxmonitor"
128
128
  DISCORD_BOT_SERVICE_GROUP="discordbotlinuxmonitor"
129
129
  DISCORD_BOT_SERVICE_NAME="discord-bot"
130
130
  DISCORD_BOT_SERVICE_FILE="/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service"
131
- DISCORD_BOT_FOLDER="/opt/Discord/"
131
+ DISCORD_BOT_FOLDER="/opt/DiscordBot/"
132
132
 
133
133
  ### Add rights to user launching the library depending on what you want it to do ###
134
134
  # Only if this library should be able to reboot the server on demand:
@@ -167,7 +167,7 @@ Description=Discord Bot Linux Monitor Service
167
167
  After=network.target
168
168
 
169
169
  [Service]
170
- ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json
170
+ ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json --force_sync_on_startup False
171
171
  WorkingDirectory=$DISCORD_BOT_FOLDER
172
172
  User=$DISCORD_BOT_SERVICE_USER
173
173
  Group=$DISCORD_BOT_SERVICE_GROUP
@@ -99,7 +99,7 @@ DISCORD_BOT_SERVICE_USER="discordbotlinuxmonitor"
99
99
  DISCORD_BOT_SERVICE_GROUP="discordbotlinuxmonitor"
100
100
  DISCORD_BOT_SERVICE_NAME="discord-bot"
101
101
  DISCORD_BOT_SERVICE_FILE="/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service"
102
- DISCORD_BOT_FOLDER="/opt/Discord/"
102
+ DISCORD_BOT_FOLDER="/opt/DiscordBot/"
103
103
 
104
104
  ### Add rights to user launching the library depending on what you want it to do ###
105
105
  # Only if this library should be able to reboot the server on demand:
@@ -138,7 +138,7 @@ Description=Discord Bot Linux Monitor Service
138
138
  After=network.target
139
139
 
140
140
  [Service]
141
- ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json
141
+ ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json --force_sync_on_startup False
142
142
  WorkingDirectory=$DISCORD_BOT_FOLDER
143
143
  User=$DISCORD_BOT_SERVICE_USER
144
144
  Group=$DISCORD_BOT_SERVICE_GROUP
@@ -30,7 +30,7 @@ __email__ = "quentin@comte-gaz.com"
30
30
  __license__ = "MIT License"
31
31
  __copyright__ = "Copyright Quentin Comte-Gaz (2024)"
32
32
  __python_version__ = "3.+"
33
- __version__ = "1.0.1 (2024/09/14)"
33
+ __version__ = "1.0.2 (2024/09/14)"
34
34
  __status__ = "Usable for any Linux project"
35
35
 
36
36
  # pyright: reportMissingTypeStubs=false
@@ -6,7 +6,7 @@ with io.open(file='README.md', mode='r', encoding='utf-8') as readme_file:
6
6
 
7
7
  setup(
8
8
  name="DiscordBotLinuxMonitor",
9
- version="1.0.1",
9
+ version="1.0.2",
10
10
  description="From discord channels: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)",
11
11
  long_description=readme,
12
12
  long_description_content_type="text/markdown",