Posts

How do I configure my Amazon Linux service to auto-restart if it fails?

Image
1 I'm using Amazon Linux. I have a script to start and stop a service, written in bash, located at /etc/init.d/wildfly At the various run levels, I have symlinks to ensure the script starts and stops, for instance /etc/rc.d/rc3.d/S80wildfly /etc/rc.d/rc2.d/S80wildfly But my question is, what do I need to do to ensure if the service fails, ti can automatically restart? I read on CentOS, you can create a file (e.g. "wildfly.service") with the directives Restart=always RestartSec=3 Where do the equivalent directives live on Amazon Linux? services amazon-ec2 autostart amazon-linux share | improve this question asked Dec 20 '18 at 20:2...

Boyelles

Image
Boyelles — miejscowość i gmina — Herb Państwo   Francja Region Hauts-de-France Departament Pas-de-Calais Okręg Arras Kod INSEE 62172 Powierzchnia 4,24 km² Populacja  (1990) • liczba ludności 246 • gęstość 58 os./km² Kod pocztowy 62128 Położenie na mapie Francji Boyelles 50°12′N   2°49′E / 50,200000   2,816667 Portal Francja Boyelles – miejscowość i gmina we Francji, w regionie Hauts-de-France, w departamencie Pas-de-Calais. Według danych na rok 1990 gminę zamieszkiwało 246 osób, a gęstość zaludnienia wynosiła 58 osób/km² (wśród 1549 gmin regionu Nord-Pas-de-Calais Boyelles plasuje się na 974. miejscu pod względem liczby ludności, natomiast pod względem powierzchni na miejscu 745.). Bibliografia | Francuski urząd statystyczny ( fr. ) . p   •   d   •   e Gminy okręgu Arras Ablain-Saint-Nazaire Ablainzevelle Acheville Achicourt Achiet-le-Grand Achiet-le-Pet...