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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user