Skip to content

Uninstallation

Koushik Dutta edited this page Jul 1, 2022 · 12 revisions

Docker

Simply stop the container.

# get container id
docker ps
docker kill <id>

Local Installation

Linux

sudo systemctl stop scrypted.service
sudo rm /etc/systemd/system/scrypted.service

Mac

Unload and delete the LaunchAgent and restart your computer:

launchctl unload ~/Library/LaunchAgents/app.scrypted.server.plist 
rm ~/Library/LaunchAgents/app.scrypted.server.plist

Windows

Run node in Terminal and paste/run the following:

var Service = require('node-windows').Service;

var svc = new Service({
  name:'Scrypted',
  description: 'Scrypted Home Automation',
  script: '$($SERVICE_JS_ESCAPED_PATH)',
  env: [
    {
      name: "USERPROFILE",
      value: '$($USER_HOME_ESCAPED)'
    },
  ]
});

svc.uninstall();

Delete Local Files

After Scrypted is stopped, the local files can be found and removed:

sudo rm -rf ~/.scrypted