Skip to content

Commit ba7693f

Browse files
author
Patrick M
committed
feat: add header img
1 parent 24c69a4 commit ba7693f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

_posts/2025-07-07-systemd remounting-service-.md renamed to _posts/2025-07-07-systemd-remounting-service-.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ category: "General"
66
tags: [ "lxc", "systemd", "high availablity", "setup" ]
77
---
88

9+
![Tiny workers remounting hard drives in computers](/assets/img/systemd-remounting-service/header.png)
10+
911
In `systemd`, you can create an remount unit to ensure share stay mounted. This would work perfectly, except, LXC does not support this `systemd` unit. So instead I created a service that runs a script, and a timer to trigger it. Like a cron, but still using `systemd`.
1012

1113
It works by adding a file named `unmounted` to the mount folder anchor. When the share is unmounted, this file will be visible. We can test for the file and remount when it's found.
1.35 MB
Loading

0 commit comments

Comments
 (0)