#1 Restart ODCS on failure via systemd odcs-backend.service
Merged 6 years ago by jkaluza. Opened 6 years ago by fivaldi.
rpms/ fivaldi/odcs fivaldi_restart_odcs  into  master

file modified
+1
@@ -7,6 +7,7 @@ 

  User=odcs

  Group=apache

  ExecStart=/usr/bin/odcs-backend

+ Restart=on-failure

  

  [Install]

  WantedBy=multi-user.target

@jkaluza It appears to me that a little more service files (for other RPMs/services) tend to contain on-failure instead of always. My sympathies are on the on-failure side as well. :)

Is it ok, or should I use always anyway?

I vote for on-failure. This looks good to me. :)

:+1:

Will wait for @jkaluza to have a look before merging.

Pull-Request has been merged by jkaluza

6 years ago