UNAS-Pro-fan-control

(★ 79)

Automatically set fan speed on Ubiquiti UNAS models via systemd

File Explorer

  • .gitignore
  • CHANGELOG.md
  • fan_control.py
  • fan_control.service
  • fan_sensors.sh
  • install.sh
  • LICENSE.md
  • README.md
  • uninstall.sh

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

python3

View Details ▼

This command is an alias of `python`.

tldr python

View documentation for the original command:

🔍

scp

View Details ▼

Secure copy.
Copy files between hosts using Secure Copy Protocol over SSH.

scp {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}

Copy a local file to a remote host:

scp -P {{port}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}

Use a specific port when connecting to the remote host:

scp {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}

Copy a file from a remote host to a local directory:

🔍

ssh

View Details ▼

Secure Shell is a protocol used to securely log onto remote systems.
It can be used for logging or executing commands on a remote server.

ssh {{username}}@{{remote_host}}

Connect to a remote server:

ssh {{username}}@{{remote_host}} -i {{path/to/key_file}}

Connect to a remote server with a specific [i]dentity (private key):

ssh {{username}}@10.0.0.1 -p {{2222}}

Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`):

🔍

systemctl daemon-reload

View Details ▼

Reload systemd manager configuration.
Use this after creating, modifying, or deleting unit files.
See also: `systemctl reload`.

systemctl daemon-reload

Reload systemd to apply changes in unit files:

🔍

systemctl disable

View Details ▼

Disable systemd services.
See also: `systemctl revert`.

systemctl disable {{unit}}

Stop a service from running on boot:

systemctl disable {{unit}} --now

Stop a service from running on boot and stop its current execution:

systemctl disable {{unit}} --user

Stop a user service from running on login:

🔍

systemctl enable

View Details ▼

Enable systemd services.
See also: `systemctl revert`.

systemctl enable {{unit}}

Enable a service to run on boot:

systemctl enable {{unit}} --now

Enable a service to run on boot and start it now:

systemctl enable {{unit}} --user

Enable a user unit to run on login:

🔍

systemctl restart

View Details ▼

Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.

systemctl restart {{unit}}

Restart a unit:

systemctl restart {{unit1 unit2 ...}}

Restart more than one unit:

systemctl restart {{unit}} --user

Restart a user unit:

🔍

systemctl status

View Details ▼

Display the status of systemd units.

systemctl status {{unit}}.{{service|timer|socket|target|...}}

Show the status of a systemd unit:

systemctl status --failed

Show the status of failed units:

systemctl status

List all running services:

// repository documentation