Solved bugs and optimized storage-optimiter

This commit is contained in:
2024-01-10 14:00:43 +01:00
parent d6c1757c5f
commit 59af670009
9 changed files with 35 additions and 30 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Optimize storage paths
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStartPre=/bin/sh -c '/usr/bin/python {{ path_system_lock_script }} {{ system_maintenance_services | join(' ') }} --ignore system-storage-optimizer'
ExecStart=/bin/sh -c '/usr/bin/python {{storage_optimizer_script}} --rapid-storage-path {{path_rapid_storage}} --mass-storage-path {{path_mass_storage}}'