Hi both Michal,
Thank you for the quick responses! I think I will keep on using the tedious
PartOf= directive.
However, may I ask why ConsistsOf= is readonly? If I can use it in my
"my-apps.target", that would be great.
John Lin
Michal Koutný 於 2018年2月26日 週一 下午7:28寫道:
>
>
> On 02/26/2018 11:0
Hi,
I found it's possible to halt a VM after a service has stopped by
using something like this:
ExecStopPost=/sbin/halt -p
Is this the cleanest approach? Or would anyone have a better
recommendation (perhaps using systemd-halt.service or similar)?
Thanks!
Filipe
smime.p7s
Description: S/MIME
On Sa, 24.02.18 16:17, Alex Gartrell (agartr...@fb.com) wrote:
> Hello,
>
> I was looking to add a compression threshold flag to journald to see if we
> can eek out some additional compression for free-ish (generally speaking, the
> verbosity of journald logs prevents us from using them super b
It make sense, Thank you for the clarification!
El 25 feb. 2018 10:09 p. m., "Mantas Mikulėnas"
escribió:
On Mon, Feb 26, 2018 at 12:32 AM, aleivag wrote:
> Hi all, hope you are doing:
>
> i was toying aroud sd_notify and sd-daemon.h and found this section in
> https://github.com/systemd/syste
On 02/26/2018 11:08 AM, Michal Sekletar wrote:
> Unfortunately, we don't have a dependency (AFAIK) that only propagates
> stop actions.
FTR (not helpful for the original problem), there exists ConsistsOf= as
an inverse of PartOf= dependency. However, it's read only currently (or
strictly speaking
On Sa, 24.02.18 23:36, juan alberto cuevas juarez (jalberto1...@live.com.mx)
wrote:
> Hello, good afternoon, I'm Juan cuevas a student of systems
> engineering, greetings from Mexico-Guadalajara I have problem in
> apache2-localhost last week I had some problems installing redmine,
> I installed
On Mon, Feb 26, 2018 at 10:24 AM, 林自均 wrote:
> However, it is a little bit tedious to write drop-ins for each service
> units. Is there a directive for "my-apps.target" to propagate "stop"
> operation to the 3 services? I was expecting something like
> "PropagateStopTo=docker.service sshd.service
Hi folks,
I would like to create a target unit to start and stop a group of services.
For example, I want a "my-apps.target" to start and stop "docker.service",
"sshd.service" and "mongodb.service". Here are my units and drop-ins:
# /etc/systemd/system/my-apps.target
[Unit]
Wants=dock