Skip to content

-enablesystemd should find itself the installed script path #22

Description

@kumy

I prefer to have manually installed scripts under /usr/local/ folder. So I've put the script at /usr/local/sbin/folder2ram. Then when running the systemd configuration, it generates the services files using hard coded script path as /sbin/folder2ram.

It would have been nice if the script generate unit files using the real and current installation path.

It could have used which or realpath $0, no?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions