Skip to content

Instantly share code, notes, and snippets.

@ghostbuster91
Last active July 14, 2024 19:47
Show Gist options
  • Save ghostbuster91/1a90a77f8a660418e008878220990caa to your computer and use it in GitHub Desktop.
Save ghostbuster91/1a90a77f8a660418e008878220990caa to your computer and use it in GitHub Desktop.
Houdini rendering farm setup
[Unit]
Description=HQ Server Daemon
After=network.target
[Service]
Type=forking
ExecStart=/opt/hqueue/scripts/hqserverd restart
ExecStop=/opt/hqueue/scripts/hqserverd stop
PIDFile=/opt/hqueue/hqserver.pid
User=root
[Install]
WantedBy=multi-user.target
@ghostbuster91
Copy link
Author

ghostbuster91 commented Jul 14, 2024

mounting project directory locally into the unified location:
Add following to the etc/fstab on the local machine that has the hqclient working:

/home/username/Documents/projects /mnt/projects none bind 0 0

mounting project directory remotely into the unified location:
Add following to the etc/fstab on the remote machine that has the hqclient working:

sshfs#hquser@remote_machine:/mnt/projects /mnt/projects fuse defaults,_netdev,uid=hquser,gid=hqgroup,allow_other,IdentityFile=/home/hquser/.ssh/id_rsa 0 0

the /mnt/projects needs to be added as a network folder in the hqserver configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment