Browse Source

Fixing Upgrade for the module (take1)

pull/7/head
Evgeny Gagua 3 months ago
parent
commit
809198e59c
  1. 2
      Distro/tmp/after.php

2
Distro/tmp/after.php

@ -12,7 +12,7 @@
//Setup MediMTX
$CMD = `systemctl stop mediamtx.service`; // just to be sure
$CMD = `mv -f ./mediamtx /opt/mediamtx`;
$CMD = `mv -f {$WDIR}/mediamtx /opt/mediamtx`;
$CMD = `mv -f /opt/mediamtx/mediamtx.service /etc/systemd/system/mediamtx.service`;
$CMD = `systemctl daemon-reload`;
$CMD = `systemctl enable mediamtx.service`;

Loading…
Cancel
Save