Files
winsw/docs/migrate-to-3-x.md
Next Turn dcf3013f75 Revise docs for 3.0.0-alpha.3 (#608)
* Mention optional settings

* Mention removed settings

* Add links to system requirements

* markdownlint fixes

* Remove trailing spaces

* Mention boolean elements

* Add preshutdown

* Add `dev ps` command

* Stop misleading

* Why aren't you using Windows 10?

* Add `stdoutPath`/`stderrPath`

* Relative paths and the default working directory

* Send a close message to Windows (GUI) apps

* Use valid XML

* Add `customize` and `dev kill` commands

* Update README.md

* Add commands

* Fix spacing

* Update installation.md

* Update README.md
2020-08-11 07:54:32 +08:00

1.0 KiB

Migrate to 3.x

Automatic migration

TODO

Manual migration

  1. Remove <name> if you don't want it.
  2. Remove <description> if you don't want it.
  3. Merge <argument> into <arguments>.
  4. Merge <startargument> into <startarguments>.
  5. Merge <stopargument> into <stoparguments>.
  6. Remove <stopparentprocessfirst>.
  7. Merge <domain>DomainName</domain> and <user>UserName</user> into <username>DomainName\UserName</username>. If the user account belongs to the built-in domain, you can specify <username>.\UserName</username>.
    • Consider removing <username> and <password> from config file and using <prompt> in interactive context, or --username and --password command-line options in non-interactive context.
  8. Remove <waithint>.
  9. Remove <sleeptime>.
  10. Replace <delayedAutoStart /> with <delayedAutoStart>true</delayedAutoStart>.
  11. Replace <interactive /> with <interactive>true</interactive>.
  12. Replace <beeponshutdown /> with <beeponshutdown>true</beeponshutdown>.