1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Added missing 'pid' setting for OpenRC

This commit is contained in:
Bryan Roe
2021-01-28 17:21:51 -08:00
parent f67d632c4b
commit c5e2b16e83
2 changed files with 3 additions and 2 deletions

View File

@@ -2360,6 +2360,7 @@ function serviceManager()
conf.write('command_background=true\n');
conf.write('start_stop_daemon_args="--chdir \\"' + options.installPath + '\\""\n\n');
}
conf.write('pidfile="/var/run/' + options.name + '.pid\n');
conf.write('depend() {\n');
conf.write(' want net\n');
conf.write('}\n');