removed defaults from systemd vars. systemd is not bash...
This commit is contained in:
parent
f4efae18c9
commit
8a61de28eb
4 changed files with 14 additions and 14 deletions
|
@ -7,13 +7,13 @@ Requires=zammad.service
|
|||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/zammad/zammad.env
|
||||
User=${ZAMMAD_USER:-zammad}
|
||||
Group=${ZAMMAD_GROUP:-zammad}
|
||||
User=${ZAMMAD_USER}
|
||||
Group=${ZAMMAD_GROUP}
|
||||
Restart=always
|
||||
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY:-/opt/zammad}
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY}
|
||||
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY:-bundle} exec script/rails server -b ${ZAMMAD_BIND_IP:-127.0.0.1} -p ${ZAMMAD_RAILS_PORT:-3000}"
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/rails server -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_RAILS_PORT}"
|
||||
|
||||
[Install]
|
||||
WantedBy=zammad.service
|
||||
|
|
|
@ -8,13 +8,13 @@ Requires=zammad.service
|
|||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=/etc/zammad/zammad.env
|
||||
User=${ZAMMAD_USER:-zammad}
|
||||
Group=${ZAMMAD_GROUP:-zammad}
|
||||
User=${ZAMMAD_USER}
|
||||
Group=${ZAMMAD_GROUP}
|
||||
Restart=always
|
||||
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY:-/opt/zammad}
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY}
|
||||
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY:-bundle} exec script/scheduler.rb start"
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/scheduler.rb start"
|
||||
|
||||
[Install]
|
||||
WantedBy=zammad.service
|
||||
|
|
|
@ -7,13 +7,13 @@ Requires=zammad.service
|
|||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/zammad/zammad.env
|
||||
User=${ZAMMAD_USER:-zammad}
|
||||
Group=${ZAMMAD_GROUP:-zammad}
|
||||
User=${ZAMMAD_USER}
|
||||
Group=${ZAMMAD_GROUP}
|
||||
Restart=always
|
||||
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY:-/opt/zammad}
|
||||
WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY}
|
||||
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY:-bundle} exec script/websocket-server.rb -b ${ZAMMAD_BIND_IP:-127.0.0.1} -p ${ZAMMAD_WEBSOCKET_PORT:-6042} start"
|
||||
ExecStart=/bin/bash -l -c "${BUNDLE_BINARY} exec script/websocket-server.rb -b ${ZAMMAD_BIND_IP} -p ${ZAMMAD_WEBSOCKET_PORT} start"
|
||||
|
||||
[Install]
|
||||
WantedBy=zammad.service
|
||||
|
|
|
@ -9,8 +9,8 @@ Wants=zammad-websocket.service
|
|||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/zammad/zammad.env
|
||||
User=${ZAMMAD_USER:-zammad}
|
||||
Group=${ZAMMAD_GROUP:-zammad}
|
||||
User=${ZAMMAD_USER}
|
||||
Group=${ZAMMAD_GROUP}
|
||||
Restart=always
|
||||
ExecStart=/bin/sleep infinity
|
||||
|
||||
|
|
Loading…
Reference in a new issue