shortlink

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 11 Imported by: 0

README

Installation

wget https://github.com/s5i/shortlink/releases/latest/download/shortlink
chmod +x ./shortlink

sudo mkdir -p /usr/local/shortlink
sudo mv ./shortlink /usr/local/shortlink
sudo chown root:root /usr/local/shortlink/shortlink

sudo tee /etc/systemd/system/shortlink.service << EOF > /dev/null
[Unit]
Description=shortlink Service
Requires=network.target

[Service]
Type=simple
ExecStart=/usr/local/shortlink/shortlink
Restart=always

[Install]
WantedBy=multi-user.target
EOF

sudo /usr/local/shortlink/shortlink --create_config

# Change as desired.
sudo vim /usr/local/shortlink/config.yaml

sudo systemctl enable shortlink
sudo systemctl start shortlink

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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