Skip to content

Instantly share code, notes, and snippets.

View maxadamo's full-sized avatar

Massimiliano Adamo maxadamo

  • Géant
  • Amsterdam, Nederlands
View GitHub Profile
@magnetikonline
magnetikonline / README.md
Last active August 5, 2024 14:13
Creating a 'run once' systemd unit.

Creating a 'run once' systemd unit

Systemd unit template which calls a script exactly once upon startup and keeps unit status active after script finishes.

Unit file placed in /etc/systemd/system and enabled with:

$ sudo systemctl enable runonce.service
$ sudo systemctl start runonce.service
@nosmall
nosmall / qBittorrent with Web UI on Ubuntu 20.04 (lazy guide).md
Last active October 21, 2024 01:54
qBittorrent with Web UI on Ubuntu 20.04 (lazy guide)

qBittorrent with Web UI on Ubuntu 20.04 (lazy guide)

WARNING: this guide is not about security, but about functionality, for example, never run applications as root. Be cautious.

sudo su
add-apt-repository ppa:qbittorrent-team/qbittorrent-stable && \
apt install -y qbittorrent qbittorrent-nox