Skip to content

Commit

Permalink
update system service configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
“Simone committed Oct 7, 2024
1 parent 7109f84 commit 539d053
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/Telegram-Member-Booster.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Description=Telegram-Member-Booster Service
After=network.target

[Service]
User=your_linux_username
User=ersa
WorkingDirectory=/home/ersa/Telegram-Member-Booster
ExecStart=/bin/bash -c 'source venv_Telegram-Member-Booster/bin/activate && nohup python main.py > /dev/null 2>&1 &'
ExecStart=/bin/bash -c 'source venv_Telegram-Member-Booster/bin/activate && python main.py'
#Restart=always
#RestartSec=5

Expand Down

0 comments on commit 539d053

Please sign in to comment.