-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaple-config.example.php
46 lines (41 loc) · 1.05 KB
/
maple-config.example.php
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
return [
// Host to listen on (defaults to 127.0.0.1)
# 'host' => '0.0.0.0',
// Port for web interface to listen on (defaults to 8100)
# 'port' => 8100,
// Verbose logging
'verbose' => true,
// Tasks available
'tasks' => [
[
'name' => "Run webpack",
'retries' => 0,
'autostart' => true,
'cmd' => 'sleep 10'
],
[
'name' => "Some process that keeps on exiting but needs to be running",
'retries' => -1,
'autostart' => true,
'cmd' => 'ping -t 3 8.8.8.8 ; sleep 5'
],
// Run multiple tasks back-to-back
[
'name' => 'Jan-1',
'after' => 'Jan-2',
'autostart' => true,
'cmd' => 'sleep 1',
],
[
'name' => 'Jan-2',
'after' => 'Jan-3',
'cmd' => 'sleep 1',
],
[
'name' => 'Jan-3',
'after' => '',
'cmd' => 'sleep 1',
]
]
];