Displaying 10 results from an estimated 10 matches for "timeoutstopsec".
2016 Jul 18
1
Help with C7 start script
On Mon, Jul 18, 2016 at 08:06:59PM +0300, Eero Volotinen wrote:
>
> Try this
> https://ask.fedoraproject.org/en/question/26898/what-is-the-auto-start-file-like-rclocal/
Note: the accepted answer there is wrong, it should be
/etc/rc.d/rc.local, not /etc/rc.local. Anyway, using
/etc/rc.d/rc.local won't be much different from what the current
service is doing.
--
Jonathan Billings
2018 Jan 05
4
VM migration upon shutdown in centos 7
Hi,
I have CentOS 7, two node system which allows live VM migration between
them. Live migration triggered from virsh is happily happening. I am using
GlusterFS for replicating VM disk files.
Now I want to automatically do the live migration at the time of
reboot/shutdown/halt of the host node and for this I have written a systemd
service unit [vPreShutdownHook.service] and placed the live
2018 Jan 11
0
Re: VM migration upon shutdown in centos 7
...ommand to finish:
[Service]
EnvironmentFile=-/etc/sysconfig/libvirt-guests
# Hack just call traditional service until we factor
# out the code
ExecStart=@libexecdir@/libvirt-guests.sh start
ExecStop=@libexecdir@/libvirt-guests.sh stop
Type=oneshot
RemainAfterExit=yes
StandardOutput=journal+console
TimeoutStopSec=0
>
>
>
> On Wed, Jan 10, 2018 at 8:46 PM, Michal Privoznik <mprivozn@redhat.com>
> wrote:
>
>> On 01/05/2018 12:00 PM, Raman Gupta wrote:
>>> Hi,
>>>
>>> I have CentOS 7, two node system which allows live VM migration between
>>&...
2015 Oct 30
3
asterisk 13 systemd
hi,
is there somebody using systemd start script on fedora/centos7 +
asterisk 13 in production?
i have strange problem with high cpu usage when asterisk is started via
systemd
thanks for feedback
p.s. systemd script is not in vanilla asterisk. only in fedora package
info https://reviewboard.asterisk.org/r/2730/
--
---------------------------------------
Marek Cervenka
2018 Jan 12
1
Re: VM migration upon shutdown in centos 7
...File=-/etc/sysconfig/libvirt-guests
> # Hack just call traditional service until we factor
> # out the code
> ExecStart=@libexecdir@/libvirt-guests.sh start
> ExecStop=@libexecdir@/libvirt-guests.sh stop
> Type=oneshot
> RemainAfterExit=yes
> StandardOutput=journal+console
> TimeoutStopSec=0
>
> >
> >
> >
> > On Wed, Jan 10, 2018 at 8:46 PM, Michal Privoznik <mprivozn@redhat.com>
> > wrote:
> >
> >> On 01/05/2018 12:00 PM, Raman Gupta wrote:
> >>> Hi,
> >>>
> >>> I have CentOS 7, two node syste...
2018 Dec 30
3
Solr
...t; ExecStartPre=/bin/chown -R vmail.mail /run/solr
> PermissionsStartOnly=true
> PIDFile=/run/solr/solr-8983.pid
> Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
> ExecStart=/opt/solr/bin/solr start
> ExecStop=/opt/solr/bin/solr stop
> Restart=on-failure
> RestartSec=15s
> TimeoutStopSec=30s
> [Install]
> WantedBy=multi-user.target graphical.target dovecot.service
> If you don't use systemd disregard - but see if any of the above applies for your setup. Let me know what happens. I agree this can be a mortal pain to setup - but it's worth it.
>
> Daniel
>...
2018 Dec 21
0
Solr
...=mail
ExecStartPre=/bin/mkdir -p /run/solr
ExecStartPre=/bin/chown -R vmail.mail /run/solr
PermissionsStartOnly=true
PIDFile=/run/solr/solr-8983.pid
Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
ExecStart=/opt/solr/bin/solr start
ExecStop=/opt/solr/bin/solr stop
Restart=on-failure
RestartSec=15s
TimeoutStopSec=30s
[Install]
WantedBy=multi-user.target graphical.target dovecot.service
If you don't use systemd disregard - but see if any of the above applies
for your setup.
Let me know what happens.? I agree this can be a mortal pain to setup -
but it's worth it.
Daniel
On 12/21/2018 4:33 AM, J...
2018 Dec 30
0
Solr
...t; ExecStartPre=/bin/chown -R vmail.mail /run/solr
> PermissionsStartOnly=true
> PIDFile=/run/solr/solr-8983.pid
> Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
> ExecStart=/opt/solr/bin/solr start
> ExecStop=/opt/solr/bin/solr stop
> Restart=on-failure
> RestartSec=15s
> TimeoutStopSec=30s
> [Install]
> WantedBy=multi-user.target graphical.target dovecot.service
> If you don't use systemd disregard - but see if any of the above applies for your setup. Let me know what happens. I agree this can be a mortal pain to setup - but it's worth it.
>
> Daniel
>...
2018 Dec 21
3
Solr
Dear Daniel.
Thank you for your kind reply.
Regarding NFS, no, there is nothing like this in my setup.
Deleteing SOLR and recreating it, I did it so many times already.
I started with *your* setup in the first place, as FTS_squat (which
actually works very well and very straightforward, I have no clue why
going for SOlr which is just a pain and not maintaining squat), and it
leads to
2016 Sep 06
2
Re: systemctl libvirt-guests.service fails to start during host boot
...-/etc/conf.d/libvirt-guests
> # Hack just call traditional service until we factor
> # out the code
> ExecStart=/usr/lib/libvirt/libvirt-guests.sh start
> ExecStop=/usr/lib/libvirt/libvirt-guests.sh stop
> Type=oneshot
> RemainAfterExit=yes
> StandardOutput=journal+console
> TimeoutStopSec=0
>
> [Install]
> WantedBy=multi-user.target
Can you try adding
[Unit]
Requires=libvirtd.service
to your libvirt-guests.service via 'systemctl edit' and
see if it helps? I don't think it should be needed for your
use case, but it's probably a good idea to have it th...