Tell our patched systemd fedmsg services to restart on failure.
This commit is contained in:
parent
e7c62d3466
commit
fa85764d3b
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ ExecStart=/usr/bin/moksha-hub /etc/moksha/production.ini
|
||||||
Type=simple
|
Type=simple
|
||||||
User=fedmsg
|
User=fedmsg
|
||||||
Group=fedmsg
|
Group=fedmsg
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -9,6 +9,7 @@ Type=simple
|
||||||
User=fedmsg
|
User=fedmsg
|
||||||
Group=fedmsg
|
Group=fedmsg
|
||||||
LimitNOFILE=160000
|
LimitNOFILE=160000
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue