| Crates.io | justrun |
| lib.rs | justrun |
| version | 1.1.0 |
| created_at | 2025-04-16 11:22:48.497391+00 |
| updated_at | 2025-04-19 03:22:36.11158+00 |
| description | Just run it! A simple init system |
| homepage | https://github.com/LeviLovie/justrun |
| repository | |
| max_upload_size | |
| id | 1636337 |
| size | 65,195 |
Just run it! A simple scheduler system.
Install as root:
sudo cargo install justrun --root /usr/local/
Or install as user and copy:
cargo install justrun
which justrun
sudo cp JUSTRUN_PATH /usr/local/bin
which justrund
sudo cp JUSTRUND_PATH /usr/local/bin
Create a service for the daemon. Example for SystemD:
[Unit]
Description=Justrun Daemon
After=default.target
Wants=default.target
[Service]
ExecStart=REPLACE WITH which justrund
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
User=root
[Install]
WantedBy=default.target
Justrun requires a yaml config file to launch daemons.
justrun init
justrun.yaml
name: example
start: 'echo "Hello, world!"'
Register the directory with the config:
sudo justrun reg
Restart the justrund daemon:
sudo justrun restartd
Check for errors:
sudo justrun status example