Skip to content

Commit

Permalink
Change chdir location to /var/db, according to hier(7).
Browse files Browse the repository at this point in the history
BSD systems do not really have a /var/lib directory, although it happens to exist on live systems because some installed software creates it.
  • Loading branch information
madpilot78 committed Jul 24, 2023
1 parent 35c2386 commit 04a9d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rcd/rustdesk-hbbr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ load_rc_config $name
pidfile=/var/run/rustdesk_hbbr.pid
command=/usr/sbin/daemon
procname=/usr/local/sbin/hbbr
rustdesk_hbbr_chdir=/var/lib/rustdesk-server
rustdesk_hbbr_chdir=/var/db/rustdesk-server
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_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_hbbr_args}"
Expand Down
2 changes: 1 addition & 1 deletion rcd/rustdesk-hbbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 04a9d30

Please sign in to comment.