security-summer-school / template-public

Public template repository
Other
0 stars 3 forks source link

Template structure does dot use xinetd #14

Open raresvis opened 2 years ago

raresvis commented 2 years ago

We usually ensure the availability of a service via xinetd. At the current stage, the template does not make use of it.

raresvis commented 2 years ago

As consequence, we need to think of a way of substituting the variables from common/activity.mk into xinetd.conf. I think the main concern is the PORT variable.

The first obvious solution is using sed. A solution that would require some minor tweaking is envsubst.