Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#443 from jhiemstrawisc/cache-super…
Browse files Browse the repository at this point in the history
…visord

Add cache supervisord process
  • Loading branch information
turetske authored Dec 1, 2023
2 parents 53f0487 + 693e7f5 commit 2632968
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions images/supervisord/pelican_cache_serve.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

#
# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License. You may
# obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[program:pelican_cache_serve]
command=/pelican/osdf-client cache serve %(ENV_OSDF_CACHE_ARGS)s
autostart=false
autorestart=true
redirect_stderr=true
# We can run the cache with all args configured via our pelican.yaml
# or via individual environment variables, so this environment variable
# need not be populated. However, if we don't give it at least an empty
# var, supervisord won't expand it and there will be an error. Set the
# default to empty.
environment=OSDF_CACHE_ARGS=""

0 comments on commit 2632968

Please sign in to comment.