Skip to content

Commit

Permalink
Prefix ExecStart with bash to circumvent execute permission issue
Browse files Browse the repository at this point in the history
No matter how many ways we try to add execute permissions to these scripts they always seem to get lost in one way or another. Now for example Moonraker doesn't run the install_debian.sh script, so the chmod never gets run. A .zip file doesn't seem to properly store the execute permission, so this would never work.
  • Loading branch information
Donkie committed Feb 2, 2024
1 parent c65bc42 commit c6c75e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Description=Spoolman
[Service]
Type=simple
ExecStart=$spoolman_dir/scripts/start.sh
ExecStart=bash $spoolman_dir/scripts/start.sh
WorkingDirectory=$spoolman_dir
User=$USER
Restart=always
Expand Down

0 comments on commit c6c75e6

Please sign in to comment.