From e35ccf3baf7b57fc1cd8ea7074c882e580278549 Mon Sep 17 00:00:00 2001 From: unrealdragon Date: Wed, 27 May 2026 21:57:06 +0530 Subject: [PATCH] Version 0.0.2 added service files for systemd and dinit. --- startup_service.dinit | 4 ++++ startup_service.systemd | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 startup_service.dinit create mode 100644 startup_service.systemd diff --git a/startup_service.dinit b/startup_service.dinit new file mode 100644 index 0000000..04bcdac --- /dev/null +++ b/startup_service.dinit @@ -0,0 +1,4 @@ +type = scripted +command = /path_to_executable/StartUpRunner --log_dir /var/logs/StartUpRunner/ --json /path_to_startup_json/startup_apps.json +logfile = /var/log/dinit/StartUpRunner.log +after = network.target diff --git a/startup_service.systemd b/startup_service.systemd new file mode 100644 index 0000000..f1f5c40 --- /dev/null +++ b/startup_service.systemd @@ -0,0 +1,12 @@ +[Unit] +Description=A Simple Startup Runner Service +After=network.target + +[Service] +Type=forking +ExecStart=/path_to_executable/StartUpRunner +KillMode=process +WorkingDirectory=/path_to_executable/StartUpApps/ + +[Install] +WantedBy=multi-user.target