Skip to content

Systemd files (and some scripts) for Lancache deployment

Notifications You must be signed in to change notification settings

cdjm/lancache-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lancache-systemd

This is just some quick hackery to get the docker images from https://hub.docker.com/r/lancachenet running on a server.

All files need to be copied to /opt/lancache (and the files in /systemd need to go in /etc/systemd/system). The cache directory is currently set to /cache.

I'm uploading this because it may help someone setting this up more quickly.

After copying the files you'll need to configure cache instances using your local /etc/hosts file.

Create entries in hosts file

Cache instances are prefixed (and recognized) by the prefix lc-. The generic (monolithic) cache instance is configured by specifying an IP adress for lc-generic. This instance should be always enabled to catch all data not handled by other instances. To add more instances you can add more entries to your hosts file.

172.18.1.90   lc-generic
172.18.1.91   lc-riot
172.18.1.92   lc-steam

Enable the main DNS service (which loads sniproxy automatically).

systemctl enable lancache-dns
systemctl start lancache-dns

Start the cache instances

Example for Steam:

systemctl enable lancache@steam
systemctl start lancache@steam

TODO

About

Systemd files (and some scripts) for Lancache deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages