If set to on-failure, the service will be restarted when the process exits with a non-zero exit code, like bad configuration. If set to on-abort, the service will be restarted only if the service process exits due to an uncaught signal not specified as a clean exit status.
2014-12-03 21:26 GMT+10:00 Vasiliy Tolstov <[email protected]>: > 2014-12-03 4:38 GMT+03:00 Vladislav Gorbunov <[email protected]>: > > What do you think about add > > [Service] > > Restart=on-abort > > to the /usr/lib/systemd/system/sheepdog.service? > > > Good.... But may be on-failure ? > > -- > Vasiliy Tolstov, > e-mail: [email protected] > jabber: [email protected] >
-- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
