Merge branch 'dev' into vhs

This commit is contained in:
Malin Freeborn 2023-07-19 15:16:42 +02:00
commit 23160b22ad
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
2 changed files with 40 additions and 2 deletions

30
distros/void/jenkins.md Normal file
View File

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

View File

@ -100,13 +100,21 @@ Change the `download-dir` value to wherever you want the torrents to go.
# Creating Torrents # 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: 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: 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'. Without the `--anonymize` flag, the torrent file output will have a 'created by' and 'created date'.