diff --git a/devstack/lib/tacker b/devstack/lib/tacker index 27103bcbd..084c96ff7 100644 --- a/devstack/lib/tacker +++ b/devstack/lib/tacker @@ -52,9 +52,6 @@ fi TACKER_CONF_DIR=/etc/tacker TACKER_CONF=$TACKER_CONF_DIR/tacker.conf -TACKER_LOG_DIR=/var/log/tacker -TACKER_SERVER_LOG=$TACKER_LOG_DIR/tacker-server.log - # Default name for Tacker database TACKER_DB_NAME=${TACKER_DB_NAME:-tacker} # Default Tacker Port @@ -175,16 +172,10 @@ function _create_tacker_conf_dir { sudo install -d -o $STACK_USER $TACKER_CONF_DIR } -function _create_tacker_log_dir { - # Create Tacker LOG DIR - sudo install -d -o $STACK_USER $TACKER_LOG_DIR -} - # configure_tacker() # Set common config for all tacker server and agents. function configure_tacker { _create_tacker_conf_dir - _create_tacker_log_dir cd $TACKER_DIR ./tools/generate_config_file_sample.sh diff --git a/etc/systemd/system/tacker.service b/etc/systemd/system/tacker.service index 424c355a7..9cdbbac66 100644 --- a/etc/systemd/system/tacker.service +++ b/etc/systemd/system/tacker.service @@ -6,7 +6,7 @@ ExecReload = /bin/kill -HUP $MAINPID TimeoutStopSec = 300 KillMode = process WorkingDirectory = /tmp -ExecStart=/usr/local/bin/tacker-server --config-file /etc/tacker/tacker.conf --log-file /var/log/tacker-server.log +ExecStart=/usr/local/bin/tacker-server --config-file /etc/tacker/tacker.conf [Install] WantedBy = multi-user.target