2023-03-22 00:42:07 +01:00
|
|
|
# Dynamic folders
|
|
|
|
|
2023-03-21 19:06:21 +01:00
|
|
|
Collection of Bash scripts that execute functionalities in folders.
|
2023-04-04 09:13:39 +02:00
|
|
|
|
|
|
|
## Video to mp4
|
|
|
|
|
|
|
|
### Install
|
|
|
|
|
|
|
|
### Run
|
|
|
|
|
|
|
|
### Service
|
|
|
|
|
2023-04-18 12:38:12 +02:00
|
|
|
```sh
|
|
|
|
wget /etc/systemd/system/github-runner-glosa.service
|
|
|
|
curl -o maza https://raw.githubusercontent.com/tanrax/maza-ad-blocking/master/maza && chmod +x maza && sudo mv maza /usr/local/bin
|
|
|
|
```
|
|
|
|
|
|
|
|
```ini
|
|
|
|
[Unit]
|
|
|
|
Description=Github runner glosa
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
RestartSec=5
|
|
|
|
User=github
|
|
|
|
Group=github
|
|
|
|
Restart=always
|
|
|
|
WorkingDirectory=/home/github/actions-runner
|
|
|
|
ExecStart=/home/user/
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
```
|
|
|
|
|
2023-04-04 09:13:39 +02:00
|
|
|
## Development
|
|
|
|
|
|
|
|
### Check syntax
|
|
|
|
|
|
|
|
```sh
|
|
|
|
shellcheck [script]
|
|
|
|
```
|