Skip to content

Used as a proto, development will continue under the org repo

Notifications You must be signed in to change notification settings

cybor97/ovpnrental_agent

Repository files navigation

OpenVPN rental agent app

In order to run you need to follow these steps:

  • Fill in your SQS credentials in .env file as per example
  • yarn install
  • yarn dev

To get the executables:

  • yarn build - will compile JS in "tsbuild" directory
  • yarn pkg - will build a single executable in "dist" directory

In order to install to the target environment you can proceed with systemctl service file like this:

[Unit]
Description=OVPNRental agent service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=ubuntu
WorkingDirectory=/home/ubuntu #Here you can set the directory where .env file is stored
ExecStart=/usr/bin/ovpnrental_agent #Target executable

[Install]
WantedBy=multi-user.target

About

Used as a proto, development will continue under the org repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published