From: Art Cancro Date: Wed, 11 Aug 2021 04:04:43 +0000 (-0400) Subject: updated the run scripts X-Git-Url: https://code.citadel.org/?p=citadel-docker.git;a=commitdiff_plain;h=2388e3fe2ae9715cb37b9ba2400b63418d87c501 updated the run scripts --- diff --git a/citadel.service b/citadel.service index 4fcdc5c..6ad9733 100644 --- a/citadel.service +++ b/citadel.service @@ -7,7 +7,7 @@ Requires=docker.service ExecStartPre=-/usr/bin/mkdir /usr/local/citadel [Service] -ExecStart=/usr/bin/docker run -i --rm --network host --volume=/usr/local/citadel:/citadel-data citadeldotorg/citadel:latest +ExecStart=/usr/bin/docker run -i --rm --name=citadel --network=host --volume=/usr/local/citadel:/citadel-data citadeldotorg/citadel:latest ExecReload=/bin/kill KillMode=process Restart=on-failure diff --git a/run-citadel.sh b/run-citadel.sh index 8b1ede5..3372da6 100755 --- a/run-citadel.sh +++ b/run-citadel.sh @@ -74,11 +74,11 @@ if ${migrate_mode} ; then elif ${database_cleanup_mode} ; then c_args="-d" # Tell ctdlvisor to run database_cleanup.sh else - n_args="--network host" # Only open ports if we're running in normal mode + n_args="--network=host" # Only open ports if we're running in normal mode fi exec docker run \ - --name citadel \ + --name=citadel \ -i \ --rm \ ${n_args} \