Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lolski opened this issue May 4, 2022 · 0 comments
Open

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

lolski opened this issue May 4, 2022 · 0 comments

Comments

@lolski
Copy link
Member

lolski commented May 4, 2022

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant