On Nov 18 2016, Daniel Jagszent <[email protected]> wrote:
> [Service]
> #Type=notify
> Type=simple
> ExecStart=/usr/local/sbin/mount-fast_dr.sh
> LimitNOFILE=66000
> NotifyAccess=all
> TimeoutStopSec=10min
> TimeoutStartSec=10min
>
> [Install]
> WantedBy=multi-user.target
> |
>
> It uses the following start script (|/usr/local/sbin/mount-fast_dr.sh|):
>
> |#!/bin/bash
[...]
> /bin/systemd-notify --ready --status="Waiting for data..."
If you use systemd-notify, you should set "Type = notify". However, you
don't actually need to use systemd-notify -- mount.s3ql is already doing
that for you.
> echo executing mount.s3ql $MOUNT_OPTS "$STORAGE_URL" "$MOUNTPOINT"
> exec /usr/bin/mount.s3ql $MOUNT_OPTS "$STORAGE_URL" "$MOUNTPOINT"
... and this should be run with --foreground, *especially* if you use
"Type = simple".
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
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.