Skip to content
This repository was archived by the owner on Sep 27, 2025. It is now read-only.

sefinek/orbital-sync-pm2

Repository files navigation

Orbital Sync PM2

Runs the orbital-sync process continuously (24/7) using PM2. You don't need to install orbital-sync globally (-g).

Set the necessary environment variables in the .env file.

Installation

Download or upgrade Git

sudo add-apt-repository ppa:git-core/ppa
sudo apt update && sudo apt -y install git
git --version

Prepare and run

cd ~
git clone https://github.com/sefinek/orbital-sync-pm2.git
cd orbital-sync-pm2
cp .env.default .env
mcedit .env
npm install
npm install pm2 -g
sudo mkdir /var/log/orbital-sync
sudo chown $USER:$USER /var/log/orbital-sync
node .      // first test, ^C to exit
pm2 start
pm2 startup
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u $USER --hp $HOME
pm2 save
pm2 logs

And that's all, good luck!

About

Runs the orbital-sync process continuously (24/7) using PM2. You don't need to install this module globally (-g).

Topics

Resources

License

Stars

Watchers

Forks

Contributors