If you put example code:
into package `foo`, and you do `/restartpack foo`, your server will shutdown with information:
./start_linux.sh: line 2: 18246 Segmentation fault ./OnsetServer
Code:
function cmd_restartpack(player, package_) StopPackage(package_) Delay(500, function() StartPackage(package_) end) end AddCommand("restartpack", cmd_restartpack)
./start_linux.sh: line 2: 18246 Segmentation fault ./OnsetServer
Comment