Skip to content

create-swap.service failed and how I solved #61

@Kuchiriel

Description

@Kuchiriel

I have used the minimum Digital Ocean Droplet (512MB RAM), and the default userdata always gives me this error.
image

Solved changing both occurrences of Environment="SWAPFILE=/2GiB.swap" to 1GiB and ExecStart=/usr/bin/fallocate -l 2048m ${SWAPFILE} to 1024m in userdata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions