Skip to content

Commit

Permalink
make the directory for PIDs on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Squidly271 committed Mar 25, 2017
1 parent 6c3d406 commit 8510262
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/ca.turbo.plg
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The 'post-install' script
<?
echo "Checking for running background process\n";
exec("mkdir -p /tmp/ca.turbo");
exec("mkdir -p /tmp/ca.turbo/otherPIDs");
if ( is_file("/tmp/ca.turbo/PID") ) {
echo "Stopping CA Auto Turbo Mode\n";
$PID = file_get_contents("/tmp/ca.turbo/PID");
Expand Down

0 comments on commit 8510262

Please sign in to comment.