Version 0.0.2 added service files for systemd and dinit.

This commit is contained in:
unrealdragon 2026-05-27 21:57:06 +05:30
commit e35ccf3baf
2 changed files with 16 additions and 0 deletions

4
startup_service.dinit Normal file
View file

@ -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

12
startup_service.systemd Normal file
View file

@ -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