Skip to content
Fabrizio Lungo edited this page Jan 18, 2017 · 1 revision

Commands

unit

  • sysdock unit add [service] <unit> Adds a symbolic link for the unit defined by /srv/docker/<service>/units/<unit>, automatically adding .service to the URL if not specified. If service is not specified, then a search is done to find matches: where not ambiguous command will succeed.
  • sysdock unit install <unit> [instance] [target] Installs a unit as per the [Install] section or as WantedBy the specified target if provided.

service

  • sysdock service add <service> Adds all units from /srv/docker/<service>/units to /etc/systemd/system
  • sysdock service install <service> [instance] Installs all installable units from the given services with the given instance name.

service dropin

  • sysdock service dropin add <unit> <dropin> [instance] Adds the relevant dropin for the added unit (<service> is implied by the unit link). ln -s /srv/docker/<service>/units/<unit>.d/<dropin> /etc/systemd/system/<unit>.d/<dropin-as>. .conf is appended to the <dropin> if not specified.

Clone this wiki locally