This commit is contained in:
parent
eb8e8e4aed
commit
7578acff90
1 changed files with 1 additions and 2 deletions
|
@ -471,8 +471,7 @@ while True:
|
||||||
ossystem("git fetch")
|
ossystem("git fetch")
|
||||||
ossystem("git pull")
|
ossystem("git pull")
|
||||||
irc.send_irc(channel, nick + ": Pulled from Git, restarting bot...")
|
irc.send_irc(channel, nick + ": Pulled from Git, restarting bot...")
|
||||||
sleep(1)
|
restart()
|
||||||
ossystem("sudo systemctl restart sweebot")
|
|
||||||
else:
|
else:
|
||||||
irc.send_irc(channel, nick + ": Permission denied.")
|
irc.send_irc(channel, nick + ": Permission denied.")
|
||||||
block+=1
|
block+=1
|
||||||
|
|
Loading…
Reference in a new issue