Socket
Book a DemoInstallSign in
Socket

hypergit-service

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypergit-service

Runs hypergit seed as a background service

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

hypergit-service

Runs hypergit seed as a background service

Only Windows and Linux supported. This package uses os-service under the hood, so Mac support would need to be added to that package, not this one.

This will start the hypergit seeder on boot, so you don't have to run hypergit seed in a terminal somewhere everytime you want to share your hypergit repos.

Installation

First, make sure you have hypergit installed globally. (Or if not globally, somewhere that hypergit-service can still require() it as a peer-dependency.)

npm i -g hypergit

Next, install this package:

npm i -g hypergit-service

Finally, run the installer. It will prompt you for sudo/admin privileges.

hypergit-service install

Uninstall

If you want to remove the service run:

hypergit-service remove

It will prompt you for sudo/admin privileges in order to remove it.

View Log File

To confirm that the service is working, you can inspect the log file:

cd $(hypergit-service logdir)
cat log.txt

If the log file does not exist, you may need to tweak the OS service to make sure it is running as the currently logged in user and not as root/Administrator. (I didn't figure out how to do that auto-magically.)

License

Copyright 2018 William Hilton. Licensed under the MIT License

FAQs

Package last updated on 03 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts