Skip to content

Commit 4900418

Browse files
committed
Add host skeleton
1 parent 27e256d commit 4900418

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

system/skeleton/bin/hello.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo:
2+
@echo Hello world!

system/skeleton/env.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[default_section]
2+
3+
EXAMPLE_KEY = value

system/skeleton/menu.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[default_section-0]
2+
3+
caption = Create backup
4+
category = projects\default_section
5+
command = cmd.exe /c "mkdir {base_dir}\.osp\backup >nul 2>&1 & 7za a -t7z {base_dir}\.osp\backup\backup_{date_time}.7z {base_dir}\* -xr!.osp\backup & explorer.exe /select,{base_dir}\.osp\backup\backup_{date_time}.tar.gz"
6+
enabled = off
7+
hide = off
8+
icon = file-zipper

system/skeleton/project.ini

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[default_section]
2+
3+
app_start_command = auto
4+
base_url = auto
5+
backend_enabled = auto
6+
backend_ip = auto
7+
backend_port = auto
8+
bind_ip = auto
9+
environment = auto
10+
http_engine = auto
11+
http_port = auto
12+
http2_enabled = auto
13+
https_port = auto
14+
node_engine = auto
15+
php_engine = auto
16+
primary_domain = off
17+
project_category =
18+
project_enabled = auto
19+
project_root = auto
20+
server_aliases = auto
21+
terminal_codepage = 65001
22+
tls_cert_file = auto
23+
tls_enabled = auto
24+
tls_key_file = auto
25+
web_root = auto

system/skeleton/tasks.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[default_section]
2+
3+
Calling cron.php via HTTPS = */30 * * * * * 0 wget.exe --secure-protocol=TLSv1_2 -q --no-cache https://{host}/cron.php -O nul
4+
Calling cron.php from PHP = */30 * * * * * 0 cmd.exe /c "osp project {host} & php -f cron.php"

0 commit comments

Comments
 (0)