Prefix ExecStart with bash to circumvent execute permission issue

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.
This commit is contained in:
Donkie
2024-02-02 23:14:54 +01:00
parent c65bc4201b
commit c6c75e6271

View File

@@ -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