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
449 B

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