-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcron.sh
More file actions
28 lines (21 loc) · 712 Bytes
/
Copy pathcron.sh
File metadata and controls
28 lines (21 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#### EDIT THE MLOADER_TITLES VARIABLE WITH THE DESIRED TITLES.
# 700007 MASHLE
# 700005 One Piece
# 700003 My Hero Academia
# 100006 boruto eng
# 100012 dragon ball super eng
# 700006 black clover fr
# 100010 dr stone eng
# 100171 Dandadan
# 100056 spy x family
# 100021 platinum end eng
MLOADER_TITLES="-t 700007 -t 700005 -t 700003 -t 100006 -t 100012 -t 700006 -t 100010 -t 100171 -t 100056 -t 100021"
#############################################
cd $DST_DIR
if [ "${DOCKER_FILE:-Dockerfile}" == "source.Dockerfile" ]; then
MLOADER_CMD="python -m mloader"
else
MLOADER_CMD="mloader"
fi
su mloader -c "$MLOADER_CMD -o /usr/src/app/downloads -l -r $MLOADER_TITLES 2>&1 | tee ./cron.log"