Displaying 9 results from an estimated 9 matches for "successexitstatus".
2015 Sep 23
2
Help with systemd
On 9/23/2015 2:58 PM, Jonathan Billings wrote:
> 1.) why 'cd /greenstone/gs3 && ant start' when you could just run
> '/greenstone/gs3/ant start'.
thats *not* equivalent, unless ant is in /greenstone/gs3 *and* . is in
the path, and even then, ant looks for build.xml in the current path
when its invoked, so the cd /path/to/build/ is appropriate.
--
john r
2015 Sep 23
3
Help with systemd
...reenstone3/greenstone3.pid
Environment=PATH=/usr/apache-ant-1.9.6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
ExecStart=/usr/bin/bash -c "cd /greenstone/gs3/ && ant start ;
/usr/sbin/pidof java | awk '{print $1}' > /run/greenstone3/greenstone3.pid"
SuccessExitStatus=143
User=gs3
Group=gs3
[Install]
WantedBy=multi-user.target
Thanks
2017 Aug 01
0
Gluster operations speed limit
Adding Mohit who is experimenting with cgroups has found some way to
restrict glustershd's CPU usage using cgroups. Mohit maybe you want to
share the steps we need to follow to apply cgroups only to glustershd.
Thanks.
Ravi
On 08/01/2017 03:46 PM, Alexey Zakurin wrote:
> Hi, community
>
> I have a large distributed-replicated Glusterfs volume, that contains
> few hundreds
2016 Jun 21
2
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
On Tue, 2016-06-21 at 15:46 +0100, Always Learning wrote:
> On Tue, 2016-06-21 at 16:24 +0200, Alexander Farber wrote:
>
> > *nat
> > :INPUT ACCEPT
> > :OUTPUT ACCEPT
> > :PREROUTING ACCEPT
> > :POSTROUTING ACCEPT
> > -A PREROUTING -p tcp --dst 144.76.184.154 --dport 8080 -j REDIRECT
> > --to-port 80
>
>
2016 Jun 20
3
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
...ystem/websocket-handler.service file:
[Unit]
Description=WebSocket Handler Service
After=network-online.target
[Service]
Type=simple
User=nobody
Group=nobody
ExecStart=/usr/bin/java -classpath '/usr/share/java/jetty/*'
de.afarber.MyHandler 144.76.184.151:8080
ExecStop=/bin/kill ${MAINPID}
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
However I actually need my Jetty program to run at port 80 - so that users
behind corporate firewalls can connect too.
The Jetty doc at
https://www.eclipse.org/jetty/documentation/current/setting-port80-access.html
suggests to run the command
# iptables...
2017 Aug 01
3
Gluster operations speed limit
Hi, community
I have a large distributed-replicated Glusterfs volume, that contains
few hundreds VM's images. Between servers 20Gb/sec link.
When I start some operations like healing or removing, storage
performance becomes too low for a few days and server load becomes like
this:
13:06:32 up 13 days, 20:02, 3 users, load average: 43.62, 31.75,
23.53.
Is it possible to set limit on
2023 Jun 07
1
Using glusterfs for virtual machines with qcow2 images
...fsmounts.service
[Unit]
Description=Glustermounting
Requires=glusterd.service
Wants=glusterd.service
After=network.target network-online.target glusterd.service
[Service]
Type=simple
RemainAfterExit=true
ExecStartPre=/usr/sbin/gluster volume list
ExecStart=/bin/mount -a -t glusterfs
TimeoutSec=600
SuccessExitStatus=15
Restart=on-failure
RestartSec=60
StartLimitBurst=6
StartLimitInterval=3600
[Install]
WantedBy=multi-user.target
After create it remember to reload the systemd daemon like:
systemctl enable glusterfsmounts.service
systemctl demon-reload
Also, I am using /etc/fstab to mount the glusterfs mount...
2015 Mar 18
2
Need help for write rpm spec
Hi
I am try to write rpm spec for install tomcat on a linux machine.But while
build the rpm i found following error
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/home/rpmbuild/BUILD/Install_tomcat-1.0
extracting debug info from
/home/rpmbuild/BUILDROOT/Install_tomcat-1.0-1.el6.x86_64/usr/local/jdk1.7.0_13/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
***
2023 Jun 07
1
Using glusterfs for virtual machines with qcow2 images
Hi Chris,
here is a link to the settings needed for VM storage: https://github.com/gluster/glusterfs/blob/03592930239c3b43cbbdce17607c099ae075fd6d/extras/group-virt.example#L4
You can also ask in ovirt-users for real-world settings.Test well before changing production!!!
IMPORTANT: ONCE SHARDING IS ENABLED, IT CANNOT BE DISABLED !!!
Best Regards,Strahil Nikolov?
On Mon, Jun 5, 2023 at 13:55,