diff options
author | Guido Falsi <[email protected]> | 2023-07-24 17:06:23 +0200 |
---|---|---|
committer | Guido Falsi <[email protected]> | 2023-07-24 17:06:23 +0200 |
commit | 04a9d307c5ca05148b142774a70f95df1f8e5680 (patch) | |
tree | 494678daee289de7a69924418146def9a61a5e80 /rcd/rustdesk-hbbs | |
parent | 35c2386c98578e4610636f1435f4e04dd947723d (diff) | |
download | rustdesk-server-04a9d307c5ca05148b142774a70f95df1f8e5680.tar.gz rustdesk-server-04a9d307c5ca05148b142774a70f95df1f8e5680.zip |
Change chdir location to /var/db, according to hier(7).
BSD systems do not really have a /var/lib directory, although it happens to exist on live systems because some installed software creates it.
Diffstat (limited to 'rcd/rustdesk-hbbs')
-rw-r--r-- | rcd/rustdesk-hbbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rcd/rustdesk-hbbs b/rcd/rustdesk-hbbs index e99ef71..1ec1589 100644 --- a/rcd/rustdesk-hbbs +++ b/rcd/rustdesk-hbbs @@ -33,7 +33,7 @@ load_rc_config $name pidfile=/var/run/rustdesk_hbbs.pid command=/usr/sbin/daemon procname=/usr/local/sbin/hbbs -rustdesk_hbbs_chdir=/var/lib/rustdesk-server +rustdesk_hbbs_chdir=/var/db/rustdesk-server command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_args}" ## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement #command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbs_args}" |