文档

支持

Unity Version Control

Start, stop, or restart your server

Manually stop, start, or restart your server.
阅读时间1 分钟最后更新于 5 个月前

The Unity Version Control (UVCS) server starts automatically on server boot, and when the installation process finishes. Manage your server on the following systems:

Windows

Use the Windows Service Manager

  1. Run the
    services.msc
    command to open the Services window.
  2. Select Plastic SCM Server.
  3. Select Start, Restart, or Stop.

Use the command line

plasticd {--start |--stop | --restart}

Linux

To start and stop the Plastic SCM service on Linux systems, use the
plasticsd
script as sudo. Find the script in the following locations:
  • In the
    /etc/init.d
    directory to help with automatic start on system boot.
  • In the server installation directory,
    /opt/plasticscm5/server
    , by default.
  • Through the
    service
    command.
The
plasticsd
script has the following options:
plasticsd {start | stop | restart | status}

Example commands

/etc/init.d/plasticsd start
/opt/plasticscm5/server/plasticsd stop
service plasticsd restart
/etc/init.d/plasticsd status
注意
The
status
option returns the running process ID of the server.

macOS

To start or stop the UVCS server daemon, you need to use the
launchctl
macOS command as sudo.

Start your UVCS server

To start the UVCS server, run the following command:
sudo launchctl load /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist

Stop your UVCS server

To stop the UVCS server, run the following command:
sudo launchctl unload /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist