# systemd user service for acd (only needed in external mode; the VS Code extension's # managed mode runs the daemon itself). Edit the two paths below, then: # mkdir -p ~/.config/systemd/user && cp acd.service ~/.config/systemd/user/ # systemctl --user daemon-reload && systemctl --user enable --now acd # journalctl --user -u acd -f # logs # To keep it running when you're not logged in: loginctl enable-linger $USER [Unit] Description=acd local completion daemon [Service] WorkingDirectory=%h/Projects/AutoComplete/local-autocomplete/daemon # nvm-installed node isn't on PATH for services, so use the absolute path. ExecStart=%h/.nvm/versions/node/v22.22.0/bin/node src/main.ts --config acd.config.json Restart=on-failure RestartSec=5 [Install] WantedBy=default.target