Hello All, Based on what appear to be partial solutions from a couple of sources I've cobbled the below systemd service file in the hopes of having an s3ql file system mount on bootup and unmount cleanly on shutdown. I confess I'm more of an init.d guy but I'm working on catching up.
The volume mounts great if I start the service via systemctl after startup (if the file system is clean), that is, "systemctl start s3ql" But if I reboot I find the file system is corrupt and fails to remount, and need to run fsck.s3ql before it will mount again. It appears the file system isn't unmounting cleanly on shutdown. What am I missing? Randy Here's my /lib/systemd/system/s3ql.service file: [Unit] Description=mount s3ql filesystem Require=NetworkManager-wait-online.service After=NetworkManager-wait-online.service [Service] ExecStart=/usr/bin/mount.s3ql --fg --authfile /etc/s3ql.authinfo --allow-other swift://tin.fhcrc.org/fast_dr/ /fast_dr ExecStop=/usr/bin/umount.s3ql /fast_dr TimeoutStopSec=5min -- You received this message because you are subscribed to the Google Groups "s3ql" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
