updated the run scripts
[citadel-docker.git] / citadel.service
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