Skip to content

Commit 8717984

Browse files
committed
doc: Fix info on creating service...
1 parent f2437ba commit 8717984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ DISCORD_BOT_SERVICE_USER="discordbotlinuxmonitor"
9999
DISCORD_BOT_SERVICE_GROUP="discordbotlinuxmonitor"
100100
DISCORD_BOT_SERVICE_NAME="discord-bot"
101101
DISCORD_BOT_SERVICE_FILE="/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service"
102-
DISCORD_BOT_FOLDER="/opt/Discord/"
102+
DISCORD_BOT_FOLDER="/opt/DiscordBot/"
103103

104104
### Add rights to user launching the library depending on what you want it to do ###
105105
# Only if this library should be able to reboot the server on demand:
@@ -138,7 +138,7 @@ Description=Discord Bot Linux Monitor Service
138138
After=network.target
139139
140140
[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
142142
WorkingDirectory=$DISCORD_BOT_FOLDER
143143
User=$DISCORD_BOT_SERVICE_USER
144144
Group=$DISCORD_BOT_SERVICE_GROUP

0 commit comments

Comments
 (0)