From 6acb9b9aaa951bdc326ec5f2d669acd61ea0d26d Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Fri, 13 Feb 2026 19:17:22 +0100 Subject: [PATCH] updated user systemd services --- .../narl_io_mount.service | 1 + .../vaulthunters_mount.service | 1 + systemd/user/narl_io_mount.service | 21 ++++++++++++++++++ systemd/user/vaulthunters_mount.service | 22 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 120000 systemd/user/default.target.wants/narl_io_mount.service create mode 120000 systemd/user/default.target.wants/vaulthunters_mount.service create mode 100644 systemd/user/narl_io_mount.service create mode 100644 systemd/user/vaulthunters_mount.service diff --git a/systemd/user/default.target.wants/narl_io_mount.service b/systemd/user/default.target.wants/narl_io_mount.service new file mode 120000 index 0000000..3ce1da6 --- /dev/null +++ b/systemd/user/default.target.wants/narl_io_mount.service @@ -0,0 +1 @@ +/home/narl/.config/systemd/user/narl_io_mount.service \ No newline at end of file diff --git a/systemd/user/default.target.wants/vaulthunters_mount.service b/systemd/user/default.target.wants/vaulthunters_mount.service new file mode 120000 index 0000000..2b64689 --- /dev/null +++ b/systemd/user/default.target.wants/vaulthunters_mount.service @@ -0,0 +1 @@ +/home/narl/.config/systemd/user/vaulthunters_mount.service \ No newline at end of file diff --git a/systemd/user/narl_io_mount.service b/systemd/user/narl_io_mount.service new file mode 100644 index 0000000..5a1d7d7 --- /dev/null +++ b/systemd/user/narl_io_mount.service @@ -0,0 +1,21 @@ +# ~/.config/systemd/user/rclone-mount.service + +[Unit] +Description=sshfs mount for narl.io server +# This ensures your network is ready before it tries to mount +After=network-online.target + +[Service] +# The command to start the mount. +# Replace "my-remote:" and "/path/to/local/mount" accordingly. +# The flags below are highly recommended for a good experience. +ExecStart=sshfs -f -p 420 narl@narl.io:/home/narl %h/narl_io + +# The command to unmount gracefully. +ExecStop=fusermount -u %h/narl_io +Restart=on-failure +RestartSec=10 + +[Install] +# This tells systemd to start the service at user login. +WantedBy=default.target diff --git a/systemd/user/vaulthunters_mount.service b/systemd/user/vaulthunters_mount.service new file mode 100644 index 0000000..e5d58f6 --- /dev/null +++ b/systemd/user/vaulthunters_mount.service @@ -0,0 +1,22 @@ + +# ~/.config/systemd/user/rclone-mount.service + +[Unit] +Description=sshfs mount for narl.io vaulthunters server +# This ensures your network is ready before it tries to mount +After=network-online.target + +[Service] +# The command to start the mount. +# Replace "my-remote:" and "/path/to/local/mount" accordingly. +# The flags below are highly recommended for a good experience. +ExecStart=sshfs -f narl@vh3.narl.io:/opt/minecraft_vaulthunters %h/vaulthunters_server/ + +# The command to unmount gracefully. +ExecStop=fusermount -u %h/vaulthunters_server +Restart=on-failure +RestartSec=10 + +[Install] +# This tells systemd to start the service at user login. +WantedBy=default.target