pushover-server-login-notification

command module
v0.0.0-...-bbedbf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: MIT Imports: 7 Imported by: 0

README

Login notifier

Sent a push notification when someone login to your remote server.

Configuration

Setup these environment variables to run the program

PUSHOVER_APP_TOKEN=""
PUSHOVER_USER_KEY=""

These variables will be used when the program is compiled into a unique binary. The values will be in the compiled binary.

Compile for the current arch

make build

Compile for linux amd64

make build_linux

Compile for linux arm, raspberry

make build_arm

Copy the binary to the remote host

scp main remote_host:/home/$USER/

Setup the binary to run at login

Add $HOME/main at the end of ~/.profile or .bash_profile.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL