From 4d7bec641c690b2f82ceb40fb56553d5bc24c6fa Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 15 Jul 2023 02:36:50 +0200 Subject: [PATCH 1/2] fix transmission creation --- networking/transmission.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/networking/transmission.md b/networking/transmission.md index a664031..25e9e45 100644 --- a/networking/transmission.md +++ b/networking/transmission.md @@ -100,13 +100,21 @@ Change the `download-dir` value to wherever you want the torrents to go. # Creating Torrents +Transmission always needs the full path to every file, and the daemon will need permission to view the file. +When it doubt, just place the files in `transmission`'s home directory. + Create a torrent of file or directory `Memes` with: -> transmission-create Memes +```bash +sudo chown -R :transmission Memes +transmission-create $(pwd)/Memes +``` Add a tracker to the torrent, to make sure others can find you easily: -> transmission-create --comment 'My Memes collection' -t 'udp://tracker.publicbt.com:80' -t 'udp://tracker.openbittorrent.com:80' --anonymize Memes +```bash +transmission-create --comment 'My Memes collection' -t 'udp://tracker.publicbt.com:80' -t 'udp://tracker.openbittorrent.com:80' --anonymize Memes +``` Without the `--anonymize` flag, the torrent file output will have a 'created by' and 'created date'. From 30352efd88e5068c116fc75121a157682e33cd36 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 18 Jul 2023 16:20:02 +0200 Subject: [PATCH 2/2] add jenkins --- distros/void/jenkins.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 distros/void/jenkins.md diff --git a/distros/void/jenkins.md b/distros/void/jenkins.md new file mode 100644 index 0000000..1d2d14c --- /dev/null +++ b/distros/void/jenkins.md @@ -0,0 +1,30 @@ +--- +title: "jenkins" +tags: [ "void", "build" ] +--- +# Jenkins on Void + +Jenkins is janky. + +## Start +Start the service file. + +```bash +sudo ln -s /etc/sv/jenkins /var/service +sudo sv start jenkins +``` + +Then visit the web interface with `$BROWSER localhost:8080`. + +If it's not working, try running the command from the run file the first time: + +```bash +chpst -u jenkins java -jar /opt/jenkins/jenkins.war +``` + +## Updating + +Jenkins will not work if out of date. +You will be prompted to update by downloading a `jenkins.war` file. +Download it, then stop the service, and move the file to `/opt/jenkins/jenkins.war`, then start the service again. +