Reference
Settings
Settings has five cards: Changes made outside Visor (This Mac) across the top, then General, Connection (This Mac), Notifications, and Checking and history. On Linux the cards say This computer instead of This Mac. Most changes save as you make them. Open it from the sidebar, with ⌘, (Ctrl+, on Linux), or from Preferences… in the menu-bar or tray icon’s menu.
Changes made outside Visor (This Mac)
Under Notify me when, outside Visor, four switches pick which changes made outside Visor notify you: A process is started, stopped or restarted, Programs are added or removed (update), A config file is added, changed or removed on disk and supervisord restarts or shuts down. All are on by default. Each server has its own, in Remote servers → Edit → Notifications. See Activity.
General
| Setting | What it does | Default |
|---|---|---|
| Launch at login | Opens Visor in the menu bar when you log in. Off until Visor runs from Applications. If macOS wants your OK, Open Login Items takes you there. On Linux it opens in the tray, and an AppImage has to move out of /tmp first. | Off, or what you chose on first run |
| Appearance | System, Light or Dark. System follows your Mac’s (or desktop’s) light or dark setting. | System |
| Show the unread count in the menu bar | The number beside Visor’s menu-bar icon. On Linux it’s Show the unread count on the tray icon, and the number is drawn on the icon. The bell and the icon’s menu show it either way. | On |
| Search the whole log file | Off: a log search covers the lines the Logs tab has loaded (up to 5,000). On: Logs also offers Search the whole file, which reads the whole file every time. That is slower, and on a server it downloads the log over SSH. | Off |
Connection (This Mac)
The supervisord on this computer. Each server has its own connection, in Remote servers. A badge shows Connected to supervisord 4.2.5 (with your supervisord’s version), Connecting… or Not connected.
| Setting | What it does |
|---|---|
| Config file | The supervisord.conf Visor reads. Choose… picks one; Use auto-detect goes back to looking in the usual places: Homebrew’s and the system’s on a Mac, /etc/supervisor and /etc on Linux. |
| Socket | Read from the config’s [unix_http_server] or [inet_http_server] section. You can’t edit it here. |
| Username | Leave it empty to use the [supervisorctl] username and password in the config. |
| Password | Kept in your Keychain (your keyring on Linux), never in a file. Change… replaces it; Remove password also clears the username, so the config’s credentials apply again. |
Changes here wait for Save and reconnect, or Cancel. Reconnect connects again with what’s saved. On Linux with no keyring running, the password lasts only until you quit Visor.
Notifications
| Setting | What it does | Default |
|---|---|---|
| Send notifications | Only for configs you watch. Issues are recorded either way. | On |
| A process can’t start (FATAL) | Notify when a process can’t start. | On |
| A process exits unexpectedly | Notify when a process exits with a code its config doesn’t expect. | On |
| A process keeps restarting (crash loop) | Notify when a crash-loop issue opens. | On |
| supervisord stops responding | Notify when Visor can’t reach supervisord. | On |
| macOS permission | Whether macOS lets Visor notify you. Visor asks once, the first time it runs. Send a test notification checks it. On Linux this row is Desktop banners: your desktop’s notification service shows them. | — |
| Keep them on screen | Mac only. macOS decides how long they stay. Visor asks for Persistent; choose Temporary in System Settings → Notifications → Visor to have them slide away. Open Notification Settings goes there. | Persistent |
Checking and history
| Setting | What it does | Default |
|---|---|---|
| Check supervisord every | 1 to 10 seconds. Shorter shows changes sooner. | 2 seconds |
| Recheck changed configs every | 15 to 600 seconds. While a config shows as changed on disk, Visor asks supervisord this often whether a deploy script or supervisorctl update already applied it. It starts and stops nothing. Read only servers are never asked. | 60 seconds |
| Open a crash-loop issue after | This many restarts (2 to 100) within this many minutes (1 to 1,440). Restarts you ask for don’t count. | 5 restarts within 10 minutes |
| Keep resolved issues and process history for | At least 7 days. Open issues are always kept. A shorter time deletes older entries once you confirm. | 90 days |
The text is under CC BY 4.0: reuse it with credit to Touhidur Rahman and a link to this page. The code examples are free to copy.