diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-06-13 17:59:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 17:59:46 +0300 |
commit | ca69df172ff09d8e46cc751e6aeec1ee489584b1 (patch) | |
tree | 9774fba5f1a4b5fedf3ce04f65954d21a7c243c4 /system | |
parent | 13182a28426dec8e44733feb1f4147badb8fcfbd (diff) |
Fix devuan support for initd (#6275)
* netdata/packaging: Support Devuan OS release - allow init.d installation for this distro
* netdata/packaging: Cleanup netdata-lsb scriptlet
1) Dont depend on services we may or may NOT have available for monitoring
2) Fix comments
3) Use a more standard shebang, that will provide the right bash version
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata-lsb.in | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/system/netdata-lsb.in b/system/netdata-lsb.in index e623f1e0cf..ca197a5202 100644 --- a/system/netdata-lsb.in +++ b/system/netdata-lsb.in @@ -1,10 +1,18 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +#!/usr/bin/env bash # +# Netdata LSB start script +# +# Copyright: +# SPDX-License-Identifier: GPL-3.0-or-later +# +# Author: +# Costa Tsaousis <costa@netdata.cloud> +# Pavlos Emm. Katsoulakis <paul@netdata.cloud> + ### BEGIN INIT INFO # Provides: netdata -# Required-Start: $local_fs $remote_fs $network $named $time apache2 httpd squid nginx mysql named opensips upsd hostapd postfix lm_sensors -# Required-Stop: $local_fs $remote_fs $network $named $time apache2 httpd squid nginx mysql named opensips upsd hostapd postfix lm_sensors +# Required-Start: $local_fs $remote_fs $network $named $time +# Required-Stop: $local_fs $remote_fs $network $named $time # Should-Start: $local_fs $network $named $remote_fs $time $all # Should-Stop: $local_fs $network $named $remote_fs $time $all # Default-Start: 2 3 4 5 |