opam icon indicating copy to clipboard operation
opam copied to clipboard

Install executable scripts into <prefix>/etc/init.d

Open maxim092001 opened this issue 8 months ago • 2 comments

Hi.

I believe it is common practice to put start scripts into /etc/init.d. However, currently opam <pkgname>.install drops executable bit for etc. Is it possible to set executable bit or create a new path (suppose name it init.d?) that would lead to <prefix>/etc/init.d/.

Basically, I'd like to have ability to install executables into /etc/init.d. And then if dune team agrees to expose it via dune install stanza.

Opam docs

maxim092001 avatar Jun 11 '24 16:06 maxim092001