mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-16 04:27:01 +05:30
systemd/walls-bot-rs: Pull from git before starting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
2cbf1ecb88
commit
17744d88b5
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ Type=simple
|
||||||
User=bot
|
User=bot
|
||||||
EnvironmentFile=/home/bot/walls-bot-rs/env
|
EnvironmentFile=/home/bot/walls-bot-rs/env
|
||||||
WorkingDirectory=/home/bot/walls-bot-rs
|
WorkingDirectory=/home/bot/walls-bot-rs
|
||||||
|
ExecStartPre=/usr/bin/git pull origin master
|
||||||
ExecStart=/home/bot/.cargo/bin/cargo run
|
ExecStart=/home/bot/.cargo/bin/cargo run
|
||||||
ExecReload=/bin/kill -USR1 $MAINPID
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue