[go: up one dir, main page]

Menu

#1 action scripts are configuration files?

1.0
closed
WilhelmM
None
2025-07-25
2014-10-12
Rolf
No

Hello,

I'd like to ask why the action scripts are put under /etc. In my understanding that is for configuration files, but the scripts shouldn't really need any configuration (or if they do, that part could be carved out). Wouldn't it be better to have the scripts under /usr/lib/scanbd?

Discussion

  • WilhelmM

    WilhelmM - 2014-10-12

    You can use scriptdir option to change that.

     
  • Rolf

    Rolf - 2014-10-13

    Can this be passed via the command line? I tried "SCRIPTDIR=/tmp/scanbd/ scanbd -f" but it didn't seem to have any effect.

     
  • Rolf

    Rolf - 2014-10-13

    My goal here is to separate genuine configuration (such as the desired output format (PDF, PNG, JPG, TIFF)) from the scripts. The latter should essentially be the same for everyone and thus affect upstream as well.

     

    Last edit: Rolf 2014-10-13
  • WilhelmM

    WilhelmM - 2015-02-21
    • status: open --> closed
     
  • Rolf

    Rolf - 2015-02-21

    Ahm, how exactly was this closed? I can't see any change to ameliorate the FHS-violation.

     
  • WilhelmM

    WilhelmM - 2015-02-22

    Well, if you want to stick to the fhs or if the specific distribution has a specific filesystem-policy, you can change the defualt / upstream configuration to place the configs (scanbd.conf) under /etc and the scripts under /usr/{share,lib}. Feel free to do so.
    On the other hand there are other people not using a prebuilt package to install scanbd - these are the majority in my observation (me included ;-)) I do not intend to break this in the forseeing future.

     
  • Rolf

    Rolf - 2015-02-25

    Well, I am not advocating to break installations for the compile-from-scratch crowd. I am simply surprised to see you are actively promoting to violate important standards in the default installation.

     

    Last edit: Rolf 2015-02-25
  • Thiago

    Thiago - 2025-07-25

    If you want to stick to the fhs or if the specific distribution has a specific filesystem-policy, you can change the default spotify setting

     

    Last edit: Thiago 2025-07-25

Log in to post a comment.