I created a systemd btrfs-newbackup-snap.service that has this line in it:

[Service]
Type=oneshot
ExecStart=/usr/bin/btrfs subvolume snapshot -r /newbackup \
          "/newbackup/snapshots/newbackup-%Y%m%d-%H%M%S"

Upon

systemctl start btrfs-newbackup-snap.service

I get this nonsense in status:

Process: 106135 ExecStart=/usr/bin/btrfs subvolume snapshot -r /newbackup /newbackup/snapshots/newbackup-/etc/systemd/systeme0ed1590fcfb42c881b0f152dd3d9c31/run/credentials/btrfs-newbackup-snap.service-ryzen.frank-local.localdomain/var/lib (code=exited, status=1/FAILURE)

What is wrong with my definition? Where is all that crap after "/snapshots/newbackup" coming from?

Thanks a lot
Frank


--

<[email protected]>

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to