Last active
January 3, 2023 15:34
-
-
Save devcpu/d409b51b5b4306aa837e989e07fd3ad4 to your computer and use it in GitHub Desktop.
perl-confid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_vs_exec($socket, $cmd, $vps_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_vs_is_vz_hwn($socket); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return _vs_response($socket, $cmd, conv_rc($rc), "", $vps_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_vs_vps_status($socket, $vps_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return _vs_response(_vs_exec($socket, $cmd, $vps_id)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
($stdout, $stderr, $rc) = capture { system $cmd }; | |
my $outerr = "$stdout#$stderr"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xlogwrite('INFO', 'START: ...', $vps_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xlogwrite('INFO', 'START: ...', $vps_id); | |
_vs_vps_status($socket, $vps_id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment