updated the run scripts
authorArt Cancro <ajc@citadel.org>
Wed, 11 Aug 2021 04:04:43 +0000 (00:04 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 11 Aug 2021 04:04:43 +0000 (00:04 -0400)
citadel.service
run-citadel.sh

index 4fcdc5c08b7ad7a5b5f85f6a0c33dc0f57495e6b..6ad9733badde0151824093078864a083a40761d8 100644 (file)
@@ -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
index 8b1ede55a8381774a856da68f01fce5bf34886e2..3372da677da8c3e33f9b7e364d20bf429121758f 100755 (executable)
@@ -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} \