chore: initialize project scaffold with Makefile, .gitignore, README, and rproc.service

This commit is contained in:
2025-09-26 11:56:55 +00:00
commit 62cdc9daf6
6 changed files with 613 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
[Unit]
Description=rproc - Zero-Config C Process Runner
# Ensures the service starts after the system is ready for general use.
After=network.target
[Service]
# The service is simple and does not fork. systemd handles daemonization.
Type=simple
# --- IMPORTANT ---
# Change this path to the directory where your .sh scripts are located.
WorkingDirectory=/opt/scripts
# The command to start the service.
ExecStart=/usr/local/bin/rproc
# The service will be automatically restarted if it fails.
Restart=on-failure
# On stop, systemd will only send a signal to the main rproc process.
# This allows rproc to handle the graceful shutdown of its children itself.
KillMode=process
[Install]
# This enables the service to be started at boot.
WantedBy=multi-user.target