PHP Deployment Scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
neatoDeploy/deploy_files/deploy_mysql_ex2.php

16 lines
446 B

<?php
Configure::set('display', true); // Show Output
Configure::set('logfile', true); // Save to log folder
Configure::set('syslog', false);
//doCommand('service', 'mysql', 'stop');
forceRoot();
$my_key = readMyFile("/etc/neato_secrets/mysql_key");
/** @phpstan-ignore-next-line Variable $cwd might not be defined */
$o = Enc::decodeFile($cwd . "/my_vaults/mysql_secrets", $my_key);
echo $o->root;
//doCommand('service', 'mysql', 'start');