Add bundle for Wordpress on uberspace
This commit is contained in:
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