File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -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
You can’t perform that action at this time.
0 commit comments