navy files for mounting /mnt/media through tailscale

This commit is contained in:
2025-04-04 02:24:23 +00:00
parent 6d9ee9fd95
commit 56cd586949
4 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# /etc/systemd/system/mnt-media-monitor.service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl restart mnt-media.mount
[Unit]
Description=Persistent NFS Mount Watcher
After=mnt-media.mount
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'if ! mountpoint -q /mnt/media; then systemctl restart mnt-media.mount; fi'
Nice=19
IOSchedulingClass=idle