pm2/run.sh
2024-10-17 22:38:11 +02:00

10 lines
136 B
Bash

#!/bin/bash
# Check if 'bun' is available, otherwise use 'node'
if command -v bun &> /dev/null
then
bun "$@"
else
node "$@"
fi