diff --git a/.gitignore b/.gitignore index 1377554..da7707e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ *.swp + +# Ignore the installation of services for now. +systemd/.config/systemd/user/default.target.wants diff --git a/install.sh b/install.sh index 141091b..02839a3 100755 --- a/install.sh +++ b/install.sh @@ -20,7 +20,7 @@ installIfAvailable() { fi if commandAvailable $COMMAND; then - echo "Installing configuration files for $COMMAND…" + echo "Installing configuration files for $PACKAGE…" stow -t $HOME $PACKAGE fi } @@ -45,6 +45,7 @@ installIfAvailable vim installIfAvailable zsh installIfAvailable sqlite3 sqlite installIfAvailable tmux +installIfAvailable systemctl systemd # Install all XDG compatible packages echo "Installing remaining packages…" diff --git a/systemd/.config/systemd/user/liacs-proxy.service b/systemd/.config/systemd/user/liacs-proxy.service new file mode 100644 index 0000000..2651cea --- /dev/null +++ b/systemd/.config/systemd/user/liacs-proxy.service @@ -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