Add bundle for Wordpress on uberspace
This commit is contained in:
6
bundles/uberspace-wordpress/files/wordpress.ini
Normal file
6
bundles/uberspace-wordpress/files/wordpress.ini
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
max_execution_time = 180
|
||||||
|
memory_limit = 128M
|
||||||
|
post_max_size = 64M
|
||||||
|
upload_max_filesize = 64M
|
||||||
|
max_input_time = 60
|
||||||
|
max_input_vars = 3000
|
||||||
16
bundles/uberspace-wordpress/items.py
Normal file
16
bundles/uberspace-wordpress/items.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
uberspaceify = repo.libs.uberspace.Uberspaceify(node)
|
||||||
|
|
||||||
|
files = uberspaceify.files({
|
||||||
|
f'/home/{node.username}/etc/php.d/wordpress.ini': {
|
||||||
|
"source": "wordpress.ini",
|
||||||
|
"triggers": [
|
||||||
|
"action:uberspace-php-restart",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
actions["uberspace-php-restart"] = {
|
||||||
|
"command": "uberspace tools restart php",
|
||||||
|
"triggered": True,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user