websysd

command module
v0.0.0-...-ac08d73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2016 License: MIT Imports: 23 Imported by: 0

README

websysd

Like Marathon or Upstart, for your desktop!

Screenshot of websysd workspace list

Getting started

If you didn't name your config files websysd.json and workspace.json:

websysd -global websysd.local.json -workspace myworkspace.json

And if you want to load multiple workspaces:

websysd -workspace myworkspace.json -workspace someproject.json
Why

Too many console windows.

Useful info
  • Active tasks will be killed if websysd dies or is stopped
  • Use the /bin/sh -c executor on Linux
  • Use custom columns and functions to add UI metadata, e.g. display git branch name
Environment

Default websysd behaviour is to ignore all preset environment variables.

This means you will need to set any variables you want explicitly (including $PATH, which you might want to set to /bin:/usr/bin:/usr/local/bin).

You can change this behaviour by setting InheritEnvironment in either the global configuration or a workspace configuration file:

{
	"InheritEnvironment": true
}

If InheritEnvironment is true in the global workspace, the setting is ignored by individual workspaces and the full environment will be inherited anyway.

STDOUT/STDERR logs

Output from tasks is stored in-memory by default.

You can set Stdout and Stderr to a filename per-task to override this behaviour.

Filenames can include environment variables, and $TASK and $RUN are set by websysd.

{
	"Stdout": "/tmp/$TASK-$RUN.out"
}
Screenshots

Screenshot of websysd task list Screenshot of websysd task view Screenshot of websysd log view

Licence

Copyright ©‎ 2014, Ian Kent (http://www.iankent.eu).

Released under MIT license, see LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL