Skip to content

Commit b237df5

Browse files
authored
Update ophidia-run.sh
1 parent c078f70 commit b237df5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

etc/config/ophidia-run.sh

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,31 @@
1+
#
2+
# Ophidia Server
3+
# Copyright (C) 2012-2023 CMCC Foundation
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
#
18+
119
#!/bin/bash
220
export SLURM_CONF=$HOME/.ophidia/etc/slurm.conf
321
cd `spack location -i munge`
422
echo "[LOG] STARTING MUNGE..."
523
sbin/munged -S $HOME/.ophidia/var_run_munge/munge.socket.2
6-
#munge -n -S $HOME/.ophidia/var_run_munge/munge.socket.2
724
cd `spack location -i slurm`
825
echo "[LOG] STARTING SLURM..."
926
sbin/slurmd
1027
sbin/slurmctld
1128
cd $CONDA_PREFIX
1229
bin/mysqld_safe --defaults-file=/scratch/shared/mysql-env/etc/my.cnf &
1330
cd `spack location -i ophidia-server`
14-
bin/oph_server -d 2>&1 > /dev/null < /dev/null &
31+
bin/oph_server -d 2>&1 > /dev/null < /dev/null &

0 commit comments

Comments
 (0)