https://github.com/willnode/screend
Screen Daemon
https://github.com/willnode/screend
Last synced: 6 months ago
JSON representation
Screen Daemon
- Host: GitHub
- URL: https://github.com/willnode/screend
- Owner: willnode
- License: mit
- Created: 2023-05-07T13:41:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T09:14:16.000Z (over 2 years ago)
- Last Synced: 2025-03-05T04:16:23.730Z (10 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# screend
Exploiting GNU screen to be used like sysdaemons
## Why?
System daemons (background processes) is only available for root users. But what if
you want to run something as a daemon but not as root? You can use `screen` to do that,
but it's designed for interactive use. This tool is designed to make `screen` more
suitable for daemon use, by leveraging a configuration file, it will remember
the last `screen` processes and start all processes it if it's not running.
## Installation
Requires GNU `screen`, install it from package managers.
```
go install github.com/willnode/screend/...@latest
```
This software doesn't work on Windows.
## Usage
Example usage:
```bash
# Setup a work environment where we need to run
# a code-server and a nodejs development server
screend add code-server
screend add --dir ~/myproject npm run start
# Start all processes to start working
screend start
# Stop when you're done
screend stop
```
See `screend help` or [this file](./screend/usage.go) for more information.