mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-13 22:57:01 +05:30
walls-bot: Don't use Gradle to run process
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
3be59c0e3c
commit
0ff3378a41
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ Restart=on-abort
|
|||
Type=simple
|
||||
User=bot
|
||||
WorkingDirectory=/home/bot/walls-bot
|
||||
ExecStart=/home/bot/walls-bot/gradlew run
|
||||
ExecStartPre=/home/bot/walls-bot/gradlew --no-daemon build
|
||||
ExecStart=/usr/bin/java -jar /home/bot/walls-bot/build/libs/wallsbot-0.1-all.jar
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
KillMode=mixed
|
||||
KillSignal=SIGQUIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue