Skip to content

One-Click Register Service

EasyTier Cli provides a service registration command that can register EasyTier as a system service with one click on most systems. After registration, EasyTier will automatically start when the system boots and run in the background.

Using this command requires easytier-core and easytier-cli to be in the same directory. After entering that directory, run the following command:

sh
# Assuming EasyTier's startup parameters are -w abc
sudo ./easytier-cli service install -w abc
powershell
# Assuming EasyTier's startup parameters are -w abc
.\easytier-cli.exe service install -w abc

The part after install will be used as startup parameters for easytier-core.

After the service is successfully installed, you can use the following commands to manage the service:

  • Start service:

    sh
    sudo ./easytier-cli service start
    powershell
    .\easytier-cli.exe service start
  • Stop service:

    sh
    sudo ./easytier-cli service stop
    powershell
    .\easytier-cli.exe service stop
  • Check status:

    sh
    sudo ./easytier-cli service status
    powershell
    .\easytier-cli.exe service status
  • Uninstall service:

    sh
    sudo ./easytier-cli service uninstall
    powershell
    .\easytier-cli.exe service uninstall