Thanks For all the suggestions!!
Indeed I was unaware of all the options that systemd offers in terms of
overriding the default service files.
Systemd makes it much simpler then sysVinit scripts replacement.
Eliezer
On 03/09/2015 20:10, Reindl Harald wrote:
Am 03.09.2015 um 19:08 schrieb
On Thu, 03.09.15 17:45, Eliezer Croitoru (elie...@ngtech.co.il) wrote:
> Hey,
>
> I am working on a service for squid caching service.
> I have a need to define LimitNOFILE from an environmental variable instead
> of only the service file.
No this does not work. Environment expansion is only
Hey,
I am working on a service for squid caching service.
I have a need to define LimitNOFILE from an environmental variable
instead of only the service file.
The service unit I am using is:
##START
[Unit]
Description=Squid Web Proxy Server
Documentation=man:squid(8)
After=network.target
I noticed it doesn't work.
And well since I am building an RPM the only option I can think of is
either use a custom startup script which will set the limits manually or
define the service as a config file in the RPM.
Maybe you have some experience with overwriting the service files with
On Thu, Sep 03, 2015 at 08:08:13PM +0300, Eliezer Croitoru wrote:
> I noticed it doesn't work.
> And well since I am building an RPM the only option I can think of is either
> use a custom startup script which will set the limits manually or define the
> service as a config file in the RPM.
>
>
On Thu, 03.09.15 20:08, Eliezer Croitoru (elie...@ngtech.co.il) wrote:
> I noticed it doesn't work.
> And well since I am building an RPM the only option I can think of is either
> use a custom startup script which will set the limits manually or define the
> service as a config file in the RPM.
Am 03.09.2015 um 19:08 schrieb Eliezer Croitoru:
I noticed it doesn't work.
And well since I am building an RPM the only option I can think of is
either use a custom startup script which will set the limits manually or
define the service as a config file in the RPM.
Maybe you have some