similar to: systemd - service restart another service... (how?)

Displaying 20 results from an estimated 100000 matches similar to: "systemd - service restart another service... (how?)"

2017 Jun 28
3
systemd services and Restart?
I've been trying out the Restart= option in some of my own systemd service unit files - which appears to work fine However, I notice that this option is only used in a few OS provided service unit files - and was wondering about the wisdom of adding this capability to other daemons/services? (e.g. chronyd or ntpd, crond, rpcbind, etc, etc) - not that these daemons are likely to crash and
2017 Jun 28
0
systemd services and Restart?
On Wed, Jun 28, 2017 at 12:54:43PM +0000, James Pearson wrote: > However, I notice that this option is only used in a few OS provided > service unit files - and was wondering about the wisdom of adding this > capability to other daemons/services? (e.g. chronyd or ntpd, crond, > rpcbind, etc, etc) - not that these daemons are likely to crash and need > restarting that often ...
2023 Apr 29
0
Compiling asterisk makes Systemd timeout when starting the service
I am banging my head. Stock asterisk on Ubuntu 22.04 (Jammy) installs and works fine, but I want to update the source code. I use this configure line ./configure LDFLAGS="-z muldefs" --libdir=/usr/lib/x86_64-linux-gnu --with-unixodbc=$(odbc_config --include-prefix)/ --with-pjproject-bundled --disable-dev-mode --with-user=asterisk And it works, but the when I do systemctl start
2020 Sep 23
0
Systemd service unit file needs to wait until a specific interface is up
On Wed, 23 Sep 2020 at 04:33, Carlos Lopez <clopmz at outlook.com> wrote: > Hi all, > > > With SystemD, how can I make certain service dependent on certain network > interfaces being up? > > For example, I have an 802.1ad bond interface I need to wait on for being > up (this interface has no ip address assigned, it is used to capture > networks packets with a
2020 Sep 24
0
Systemd service unit file needs to wait until a specific interface is up
On Wed, 23 Sep 2020 at 23:39, Orion Poplawski <orion at nwra.com> wrote: > On 9/23/20 7:07 AM, Stephen John Smoogen wrote: > > On Wed, 23 Sep 2020 at 04:33, Carlos Lopez <clopmz at outlook.com> wrote: > > > >> Hi all, > >> > >> > >> With SystemD, how can I make certain service dependent on certain > network > >> interfaces
2020 Sep 23
4
Systemd service unit file needs to wait until a specific interface is up
Hi all, With SystemD, how can I make certain service dependent on certain network interfaces being up? For example, I have an 802.1ad bond interface I need to wait on for being up (this interface has no ip address assigned, it is used to capture networks packets with a tcpdump?s script). Every time this service fails because bond interface is not up. I have configured the service as:
2018 Sep 27
1
Upgrade 4.8 to 4.9 with Backend-Change to lmdb?
Hi Louis, you could use the systemd "requires=" directive to enforce, that samba/smbd is running before winbind. Hth Oliver On 27.09.2018 12:04, L.P.H. van Belle via samba wrote: > Hai, > Small comment here.. > >> Not saying you shouldn't add it and like you, I always add it if >> required, but what I was trying to point out to Louis is, you don't
2016 Aug 25
3
systemd not restarting daemon
On an up-to-date CentOS 7 system, I am running named-sdb (pulling domain records from MySQL), which is segfaulting randomly (after 3-8 hours or so it appears) in libmysqlclient (I've opened a bug). Since this is an internal service, until the segfault can be addressed, I wanted systemd to restart it for me. I created a file called /etc/systemd/system/named-sdb-chroot.service.d/service.conf
2020 Sep 24
2
Systemd service unit file needs to wait until a specific interface is up
> On Wed, 23 Sep 2020 at 23:39, Orion Poplawski <orion at nwra.com> wrote: > >> On 9/23/20 7:07 AM, Stephen John Smoogen wrote: >> > On Wed, 23 Sep 2020 at 04:33, Carlos Lopez <clopmz at outlook.com> wrote: >> > >> >> Hi all, >> >> >> >> >> >> With SystemD, how can I make certain service dependent on certain
2016 Aug 02
2
systemd restarts libvirt
Hi All, Can anyone please assist with this issue I am facing. There is continuous restart of libvirt, this causes virt-manager to disconnect. syslogs: systemd[1]: libvirt-bin.service: Start operation timed out. Terminating. systemd[1]: Failed to start Virtualization daemon. systemd[1]: libvirt-bin.service: Unit entered failed state. systemd[1]: libvirt-bin.service: Failed with result
2020 Sep 24
2
Systemd service unit file needs to wait until a specific interface is up
On 9/23/20 7:07 AM, Stephen John Smoogen wrote: > On Wed, 23 Sep 2020 at 04:33, Carlos Lopez <clopmz at outlook.com> wrote: > >> Hi all, >> >> >> With SystemD, how can I make certain service dependent on certain network >> interfaces being up? >> >> For example, I have an 802.1ad bond interface I need to wait on for being >> up (this
2016 Aug 02
0
Re: systemd restarts libvirt
On Tue, Aug 02, 2016 at 01:48:55PM +0200, Ishmael Tsoaela wrote: >Hi All, > >Can anyone please assist with this issue I am facing. > >There is continuous restart of libvirt, this causes virt-manager to >disconnect. > >syslogs: > > systemd[1]: libvirt-bin.service: Start operation timed out. Terminating. > systemd[1]: Failed to start Virtualization daemon. >
2019 Feb 04
0
Unable to start libvirt systemd service
Hi all, I am using the libvirt 4.9 version. I get the following error when I try to run the command virsh list after the system comes up virsh list error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory When I run the command ps -ef | grep libvirtd, to find whether the libvirtd process is running. I
2017 Feb 13
0
CentOS 7, systemd, NetworkMangler, oh, my
On 02/13/2017 07:35 AM, m.roth at 5-cent.us wrote: > Finally, I do an ifdown, followed by an ifup, and everything's wonderful. What's in /etc/sysconfig/network-scripts/ifcfg-<interface>? Does it say NM_CONTROLLED=no? > My manager thinks that the NM daemon thinks everything's fine, and > there've been no changes, so it does nothing. He suggests that it might >
2016 Apr 28
0
systemd-journald corruption
On Wed, Apr 27, 2016 at 7:05 AM, Chris Adams <linux at cmadams.net> wrote: > Once upon a time, Chris Murphy <lists at colorremedies.com> said: >> On Tue, Apr 26, 2016 at 3:01 PM, Chris Adams <linux at cmadams.net> wrote: >> > Once upon a time, Chris Murphy <lists at colorremedies.com> said: >> >> On Tue, Apr 26, 2016, 2:09 PM Chris Adams
2019 Jan 27
1
"Failed-to-restart-avahi-dnsconfd-service" error when I try to install R binary.
On 1/28/19 2:56 AM, Dirk Eddelbuettel wrote: > > | Being a docile and biddable young ( :-) ) fellow, I have tried to do so, > | following the instructions made available at: > | > | https://cran.r-project.org/bin/linux/ubuntu/README.html > | > | I have made sure that the line > | > | deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ > | > |
2007 Sep 07
3
Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
Hi, I am deploying a Rails website using Capistrano to a VPS running the site through Apache and Mongrel. ''cap deploy'' works fine, and mongrels are restarted. When I execute ''cap deploy:rollback'', however, my script fails to restart the mongrels giving this error: !!! PID file tmp/pids/mongrel.5000.pid already exists. Mongrel could be running already.
2015 Feb 20
4
Making systemd start a service after sshd?
Hi folks, For complicated reasons, I'd like to have a service (lightdm) start after sshd starts. (This is on CentOS 7.) I've tried adding "sshd.service" to the lists of "Active=" and "Require=" items in /etc/systemd/system/lightdm.service (which started as a copy of /usr/lib/systemd/system/lightdm.service), but these changes don't seem to have
2015 Feb 20
0
Making systemd start a service after sshd?
hi brian, isn't the attribute named Requires (with an s)? stijn On 02/20/2015 07:50 PM, Bryan Wright wrote: > Hi folks, > > For complicated reasons, I'd like to have a service (lightdm) start > after sshd starts. (This is on CentOS 7.) I've tried adding "sshd.service" > to the lists of "Active=" and "Require=" items in >
2015 Sep 24
2
tinc initialization (in both Red Hat and Debian families)
On Thu, Sep 24, 2015 at 05:45:36PM +0200, Guus Sliepen wrote: > On Thu, Sep 24, 2015 at 05:51:30PM +0300, R?zvan Sandu wrote: > > > IMHO, we need: > > > > 1. A proper tinc.service file, included by default (prepackaged) in the > > stock .deb and .rpm packages in Fedora, Debian, Ubuntu, CentOS, etc. > > > > By "proper" I mean it will start