swift-init(1)
π NAME π
okay so bestie, this is swift-init β it's the OpenStack Swift swift-init tool, and she's the one who runs the whole squad of swift daemons for you π
β¨ SYNOPSIS β¨
swift-init
<server> [<server> ...] <command> [options]
π¦ DESCRIPTION π¦
ngl, swift-init is THE girl for initializing every single swift daemon that ships with OpenStack Swift π«Ά. Like, instead of going around calling each individual init script for each daemon one by one (so much work, so not the vibe), you just use swift-init and she handles it. You can init just one swift service β say the "proxy" β or a whole lil combination of them, your call boo. She also lets you use the keywords "all", "main" and "rest" for the <server> argument, which is iconic behavior fr fr β¨
πΈ Servers πΈ
proxyβ initializes the swift proxy daemon πobject,object-replicator,object-auditor,object-updaterβ initializes the swift object daemons listed above πcontainer,container-update,container-replicator,container-auditorβ initializes the swift container daemons listed above πaccount,account-auditor,account-reaper,account-replicatorβ initializes the swift account daemons listed above πallβ initializes literally all the swift daemons πmainβ initializes all the main swift daemons (that'sproxy,container,accountandobjectservers) βrestβ initializes all the other swift background daemons (updater, replicator, auditor, reaper, etc) π¦
π Commands π
force-reloadβ alias forreloadno-daemonβ start a server interactivelyno-waitβ spawn server and return immediatelyonceβ start server and run one pass on supporting daemonsreloadβ graceful shutdown then restart on supporting serversreload-seamlessβ reload supporting servers with no downtimerestartβ stops then restarts servershutdownβ allow current requests to finish on supporting serversstartβ starts a serverstatusβ display status of tracked pids for serverstopβ stops a server
π Options π
-h,--helpβ show this help message and exit π«Ά-v,--verboseβ display verbose output-w,--no-waitβ won't wait for server to start before returning-o,--onceβ only run one pass of daemon-n,--no-daemonβ start server interactively-g,--gracefulβ sendSIGHUPto supporting servers-c N,--config-num=Nβ send command to the Nth server only-k N,--kill-wait=Nβ wait N seconds for processes to die (default 15)-r RUN_DIR,--run-dir=RUN_DIRβ directory where the pids will be stored (default/var/run/swift)--strictβ return non-zero status code if some config is missing. Default mode if server is explicitly named.--non-strictβ return zero status code even if some config is missing. Default mode if server is one of aliases`all`,`main`or`rest`.--kill-after-timeoutβ kill daemon and all children after kill-wait period.
π DOCUMENTATION π
More documentation about OpenStack Swift can be found at https://docs.openstack.org/swift/latest/ π
and that's the whole page bestie β swift-init(1) from OpenStack Swift, Linux, dated 8/26/2011. slay, you're basically a sysadmin now πβ¨
π¦ where this page comes from
- nixos 26.05: python3.13-swift 2.37.1
- nixos 26.05: python3.14-swift 2.37.1
- nixpkgs unstable: python3.13-swift 2.38.3
- nixpkgs unstable: python3.14-swift 2.38.3
- ubuntu jammy: python3-swift 2.29.1-0ubuntu1 Β· Apache-2
- ubuntu jammy: python3-swift 2.29.2-0ubuntu1.1 Β· Apache-2
- ubuntu noble: python3-swift 2.33.0-0ubuntu1 Β· Apache-2
- ubuntu noble: python3-swift 2.33.0-0ubuntu1.1 Β· Apache-2
- ubuntu questing: python3-swift 2.36.0-0ubuntu1
- ubuntu questing: python3-swift 2.36.0-0ubuntu1.1
- ubuntu resolute: python3-swift 2.37.1-0ubuntu2 Β· Apache-2
- ubuntu resolute: python3-swift 2.37.1-0ubuntu2.1 Β· Apache-2
- ubuntu stonking: python3-swift 2.38.2-0ubuntu1 Β· Apache-2
- Copyright (c) 2010-2011 OpenStack Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms