trying to run local hhd install for dev purposes, but systemd service is failing

Trying to run a custom systemd service for hhd so that i can do localhost dev work, and i can get the local install to work if i run hhd manually, but the systemd service itself fails.

any ideas on where the problem is?

$ cat hhd_dev.service 
[Unit]
Description=hhd service

[Service]
Type=simple
Nice = -15
Restart=always
RestartSec=5
WorkingDirectory=/var/home/deck/Development/hhd/venv/bin
ExecStart=/var/home/deck/Development/hhd/venv/bin/hhd --user deck

[Install]
WantedBy=default.target


sudo systemctl status hhd_dev.service 
● hhd_dev.service - hhd service
     Loaded: loaded (/etc/systemd/system/hhd_dev.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: activating (auto-restart) (Result: exit-code) since Wed 2024-01-31 12:58:08 EST; 2s ago
    Process: 41281 ExecStart=/var/home/deck/Development/hhd/venv/bin/hhd --user deck (code=exited, status=203/EXEC)
   Main PID: 41281 (code=exited, status=203/EXEC)
        CPU: 1ms
Solution
chcon -u system_u -r object_r --type=bin_t path
Was this page helpful?