[Unit]
Description=Create and use a swap file

[Service]
ExecStart=/usr/bin/mkswapfile

[Install]
WantedBy=sysinit.target
