]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.c
write: Improve help text of --writer.
[paraslash.git] / server.c
index cba57b1da82c4ff0a94675fe52ac1861180a954e..71a9ec505f6d096a1dc589a9cdf6c1f484e5090d 100644 (file)
--- a/server.c
+++ b/server.c
@@ -75,7 +75,7 @@ INIT_SERVER_ERRLISTS;
 
 /**
  * Pointer to shared memory area for communication between para_server
- * and its children. Exported to vss.c. command.c and to afs.
+ * and its children. Exported to vss.c, command.c and to afs.
  */
 struct misc_meta_data *mmd;
 
@@ -463,6 +463,7 @@ static void server_init(int argc, char **argv)
        version_handle_flag("server", conf.version_given);
        if (conf.help_given || conf.detailed_help_given)
                print_help_and_die();
+       daemon_set_priority(conf.priority_arg);
        daemon_drop_privileges_or_die(conf.user_arg, conf.group_arg);
        /* parse config file, open log and set defaults */
        parse_config_or_die(0);