Skip to content

create-systemd-service does not accept unescaped path #353

Open
@lolski

Description

@lolski

The create-systemd-service rule allows for creating a system background service for a given program.

There is a usability issue where the path to the program must always be manually escaped, making it cumbersome to use:

bazel run @vaticle_dependencies//tool/util:create-systemd-service -- typedb --
  "\/home\/grabl\/$GRABL_REPO\/dist\/typedb-all-linux\/typedb server"

It would be nice if we can just specify regular path and have the script perform the necessary escaping internally:

bazel run @vaticle_dependencies//tool/util:create-systemd-service -- \
  typedb "/home/grabl/$GRABL_REPO/dist/typedb-all-linux/typedb server"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions