The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
16 views

g++ server.cpp -Wall

I have a program written in C++ in Linux I just download Vim editor I gave this command to compile: g++ server.cpp -Wall when I come to run it I use ./a but it does not work can give me the ...
0
votes
1answer
17 views

Substitute variable in value of chpst loaded environment variable

If I use chpst to load environment variables like: env BAR=baz chpst -e envdir mycommand and in envdir I have a file envdir/FOO with contents foo$BAR is there a way so that for mycommand the ...
0
votes
1answer
52 views

How to log output to log file using runit

I am running program using runit to run at startup. I want all the output by from the program that is run by runit to be logged to a file. I have looked at svlogd but I cannot figure out how to get ...
0
votes
1answer
528 views

Possible to pass env vars into chpst without envdir?

I use runit to daemonize my web application, and I'm trying to see if I can have my process managed by sv not have to have a corresponding envdir for its environment variables. I wonder if I can just ...
1
vote
2answers
360 views

Combine svlogd logs from different runit services

I want to run a Node.js app with multiple Node processes running the exact same code. I'm using runit to start and manage the Node processes, because it has good Chef support. To illustrate the set ...
5
votes
1answer
379 views

Convert sysvinit/upstart init scripts to runit

I am trying to migrate a currently VM-based infrastructure to a Docker-based one, using docker-baseimage, which uses runit/runsv to start and supervise system services. Now while it is apparently very ...
5
votes
1answer
1k views

runit and nginx

I'm working on a system whose primary startup system is runit. Unfortunately, runit requires that whatever application it is running be running in the foreground like so: #!/bin/bash exec sshd -D ...