mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Add liacs proxy service.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,4 @@
|
|||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
# Ignore the installation of services for now.
|
||||||
|
systemd/.config/systemd/user/default.target.wants
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ installIfAvailable() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if commandAvailable $COMMAND; then
|
if commandAvailable $COMMAND; then
|
||||||
echo "Installing configuration files for $COMMAND…"
|
echo "Installing configuration files for $PACKAGE…"
|
||||||
stow -t $HOME $PACKAGE
|
stow -t $HOME $PACKAGE
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -45,6 +45,7 @@ installIfAvailable vim
|
|||||||
installIfAvailable zsh
|
installIfAvailable zsh
|
||||||
installIfAvailable sqlite3 sqlite
|
installIfAvailable sqlite3 sqlite
|
||||||
installIfAvailable tmux
|
installIfAvailable tmux
|
||||||
|
installIfAvailable systemctl systemd
|
||||||
|
|
||||||
# Install all XDG compatible packages
|
# Install all XDG compatible packages
|
||||||
echo "Installing remaining packages…"
|
echo "Installing remaining packages…"
|
||||||
|
|||||||
10
systemd/.config/systemd/user/liacs-proxy.service
Normal file
10
systemd/.config/systemd/user/liacs-proxy.service
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=SOCKS proxy to the liacs network
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/ssh -N -D 12345 gold.liacs.nl
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user