Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesun committed Jan 29, 2024
2 parents 46c9248 + 7feeaea commit dfb76d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
10 changes: 5 additions & 5 deletions assets/buildinfo.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
BuildVersion=latest v8.0.4 2024-01-29 14:04:36
BuildVersion=latest v8.0.4 2024-01-29 14:25:26
ReleaseVersion=v8.0.4
BuildTime=2024-01-29 14:04:36
BuildTime=2024-01-29 14:25:26
BuildName=toughradius
CommitID=40e9916bc06b34f6aa56c1e39cbece52edec301c
CommitDate=Mon, 29 Jan 2024 11:38:48 +0800
CommitID=b4d308c2255f415fa666221c05dee54836e9a623
CommitDate=Mon, 29 Jan 2024 14:04:47 +0800
CommitUser=jamiesun.net@gmail.com
CommitSubject=2024-01-29 11:38:41 : go clean -modcache
CommitSubject=2024-01-29 14:04:36 : install.sh
9 changes: 7 additions & 2 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,18 @@ fi
# Apply changes
source /etc/profile

echo "Removing old ToughRADIUS executable..."
test -f $GOPATH/bin/toughradius && rm -f $GOPATH/bin/toughradius
test -f /usr/local/bin/toughradius && rm -f /usr/local/bin/toughradius

# Installation ToughRADIUS
echo "Installing ToughRADIUS..."
go clean -modcache
go install github.com/talkincode/toughradius/v8@latest

# Execute the ToughRADIUS installation command
echo "Running ToughRADIUS install command..."
toughradius -install
$GOPATH/bin/toughradius -install

echo "ToughRADIUS installation completed."
echo "ToughRADIUS installation completed. Please to configure your database"
echo "start the toughradius service with: sudo systemctl start toughradius "

0 comments on commit dfb76d6

Please sign in to comment.