1 |
jpp |
1.1 |
diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/service-status e-smith-base-5.8.0/root/sbin/e-smith/service-status |
2 |
|
|
--- e-smith-base-5.8.0.old/root/sbin/e-smith/service-status 2020-11-16 01:04:00.182000000 -0500 |
3 |
|
|
+++ e-smith-base-5.8.0/root/sbin/e-smith/service-status 2020-11-16 21:55:20.898000000 -0500 |
4 |
|
|
@@ -22,8 +22,9 @@ |
5 |
|
|
|
6 |
|
|
if [[ "$STATUS" != 'enabled' ]] |
7 |
|
|
then |
8 |
|
|
- echo "$SERVICE will not start (service status not enabled)" |
9 |
|
|
- exit 5 |
10 |
|
|
+ echo "$SERVICE status not enabled in configuration db." |
11 |
|
|
+ exit 0 |
12 |
|
|
+ # change this one to 5 if you want systemd to fail on ExecStartPre |
13 |
|
|
fi |
14 |
|
|
|
15 |
|
|
exit 0 |