Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
bd3b9bdd
Commit
bd3b9bdd
authored
Dec 11, 2025
by
Downloader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add epm-app-update.sh
parent
43d7d514
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
epm-app-update.sh
etersoft-cron/epm-app-update.sh
+32
-0
No files found.
etersoft-cron/epm-app-update.sh
0 → 100755
View file @
bd3b9bdd
#!/bin/sh
#ssh epm@epm-update /home/epm/eepm/tests/update_versions.sh || exit
#if [ -z "$1" ] ; then
# ssh epm@epm-update /home/epm/bin/run-test.sh || exit
#fi
rsync
-a
--delete-after
--exclude
".git"
epm@epm-update:/home/epm/epm-play-versions/ /var/ftp/pub/download/epm-app-versions/
scp epm@epm-update:/var/lib/eepm/eget-ipfs-db.txt /var/ftp/pub/download/epm-app-versions/
ssh epm@epm-update /home/epm/eepm/bin/epm play
--full-list-all
</dev/null
>
/var/ftp/pub/download/epm-app-versions/epm-play-list.txt
# keep status and versions for every epm release
VERSION
=
"
$(
cat
/var/ftp/pub/download/epm-app-versions/eepm
)
"
||
exit
# use baseversion
VERSION
=
$(
echo
"
$VERSION
"
|
sed
-e
's|\.[0-9]*$||'
)
[
-n
"
$VERSION
"
]
||
exit
TDIR
=
"/var/ftp/pub/download/eepm/releases/
$VERSION
/app-versions"
mkdir
-p
"
$TDIR
/"
rsync
-a
--delete-after
/var/ftp/pub/download/epm-app-versions/
$TDIR
/
scp epm@epm-update:/var/lib/eepm/eget-ipfs-db.txt
$TDIR
/
TDIR
=
"/var/ftp/pub/download/eepm/releases/
$VERSION
/logs"
mkdir
-p
"
$TDIR
/"
rsync
-a
--delete-after
--exclude
"*.git"
epm@epm-update:/home/epm/epm-logs/
$TDIR
/
TDIR
=
"/var/ftp/pub/download/eepm/releases/
$VERSION
/error-logs"
mkdir
-p
"
$TDIR
/"
rsync
-a
--delete-after
--exclude
"*.git"
epm@epm-update:/home/epm/epm-errors/
$TDIR
/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment