Skip to content

Instantly share code, notes, and snippets.

@Gro-Tsen
Last active September 28, 2020 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gro-Tsen/34d065aa3178a9d84447a365fc743fe4 to your computer and use it in GitHub Desktop.
Save Gro-Tsen/34d065aa3178a9d84447a365fc743fe4 to your computer and use it in GitHub Desktop.
# /run/systemd/generator/debian.mount
# Automatically generated by systemd-fstab-generator
[Unit]
SourcePath=/etc/fstab
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
[Mount]
What=/dev/disk/by-uuid/034c278b-4463-4222-8147-554446457b74
Where=/debian
Type=xfs
Options=ro,nofail
[Unit]
Description=This is a test
Before=debian.mount
Wants=udev.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'touch /root/this-is-a-test'
[Install]
RequiredBy=debian.mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment