Skip to content

Commit

Permalink
Fix pwd dependenet SID path
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jul 24, 2024
1 parent 0fe9148 commit 9669848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/include/sid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# and they are generated once and then stored into lib/var/.server_id
# they are used to kill the process and make sure not to kill the wrong server

SID_FILE=lib/var/.server_id
OLD_SID_FILE=lib/.server_id # backwards compability
SID_FILE="$SCRIPT_ROOT/lib/var/.server_id"
OLD_SID_FILE="$SCRIPT_ROOT/lib/.server_id" # backwards compability

function generate_uuid() {
od -xN16 /dev/urandom | awk -v OFS=- '{print $2$3,$4,$5,$6,$7$8$9; exit}'
Expand Down

0 comments on commit 9669848

Please sign in to comment.