Skip to content
Snippets Groups Projects
Commit e98a4ae5 authored by nimrod's avatar nimrod
Browse files

Update the torrents-{on,off} shell aliases.

Previously the Transmission daemon and RSS fetcher were Systemd
services, now they're Docker container. Update accordingly.
parent 365cc3ab
No related branches found
No related tags found
No related merge requests found
Pipeline #1514 passed
......@@ -149,8 +149,8 @@ alias tfvf='tfv && terraform fmt -diff'
alias todo="vim \$HOME/Documents/TODO.yml"
# shellcheck disable=SC2142
alias tolower='awk "{print tolower(\$0)}"'
alias torrent_off='ssh kodi.shore.co.il sudo systemctl stop transmission-{rss,daemon}.service'
alias torrent_on='ssh kodi.shore.co.il sudo systemctl start transmission-{daemon,rss}.service'
alias torrent_off='ssh kodi.shore.co.il docker container pause transmission_rss_1 transmission_daemon_1'
alias torrent_on='ssh kodi.shore.co.il docker container unpause transmission_rss_1 transmission_daemon_1'
# shellcheck disable=SC2142
alias toupper='awk "{print toupper(\$0)}"'
alias transmission-remote='forward kodi.shore.co.il 9091:localhost:9091 && transmission-remote'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment