Skip to content

Commit

Permalink
nat_traversal: switch from deprecated /var/run to /run
Browse files Browse the repository at this point in the history
  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.
  • Loading branch information
guillemj authored and miconda committed Oct 25, 2019
1 parent b21f1e6 commit 2649f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/nat_traversal/doc/nat_traversal_admin.xml
Expand Up @@ -492,7 +492,7 @@ modparam("nat_traversal", "keepalive_extra_headers", "User-Agent: &kamailio;\r\n
<title>Setting the <varname>keepalive_state_file</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("nat_traversal", "keepalive_state_file", "/var/run/kamailio/keepalive_state")
modparam("nat_traversal", "keepalive_state_file", "/run/kamailio/keepalive_state")
...
</programlisting>
</example>
Expand Down

0 comments on commit 2649f64

Please sign in to comment.