[squeak-dev] referring to a cli command in a unix systemd unit file

tim Rowledge tim at rowledge.org
Mon Sep 12 00:34:56 UTC 2022


I'm making a pass at enabling personal squeaksource run cleanly under systemd instead of daemontools. The only bit that seems to be problematic right now is making the ExecStart part handle the older style `cat webPort` fragment.

I've banged away a google to see how to do this but nothing I've spotted so far looks like it will work. There surely must be a way within a service unit file to find the value of `cat webPort` and append it to the 

ExecStart=vm/squeak -vm-sound-null -vm-display-null -mmap 1024m -eden 16m ss.image run.st `cat webPort`

... but damned if I can get it to work...

What stupidly simple thing have I missed?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Moves his lips to pretend he's reading.




More information about the Squeak-dev mailing list