Skip to content

Commit

Permalink
fixed init.d minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni Moreno Gimenez committed May 4, 2020
1 parent a841994 commit dd51b97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packaging/deb/init.d/syncflux
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

# chkconfig: 2345 80 05
# description: SynFlux agent
# description: SyncFlux agent
# processname: syncflux
# config: /etc/syncflux/syncflux.toml
# pidfile: /var/run/syncflux.pid
Expand Down
5 changes: 2 additions & 3 deletions packaging/rpm/init.d/syncflux
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# chkconfig: 2345 80 05
# description: SyncFlux Agent
# processname: syncflux
# config: /etc/syncflux/config.toml
# config: /etc/syncflux/syncflux.toml
# pidfile: /var/run/syncflux.pid

### BEGIN INIT INFO
Expand All @@ -29,9 +29,8 @@ SYNCFLUX_HOME=/usr/share/syncflux
CONF_DIR=/etc/syncflux
WORK_DIR=$SYNCFLUX_HOME
DATA_DIR=/var/lib/syncflux
PLUGINS_DIR=/var/lib/syncflux/plugins
LOG_DIR=/var/log/syncflux
CONF_FILE=$CONF_DIR/config.toml
CONF_FILE=$CONF_DIR/syncflux.toml
MAX_OPEN_FILES=10000
PID_FILE=/var/run/$NAME.pid
DAEMON=/usr/sbin/$NAME
Expand Down

0 comments on commit dd51b97

Please sign in to comment.