Add editorconfig for docs project
This commit is contained in:
parent
07b2594d46
commit
1104473546
3 changed files with 25 additions and 17 deletions
8
.editorconfig
Normal file
8
.editorconfig
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
|
@ -1,16 +1,16 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forgejo Runner
|
Description=Forgejo Runner
|
||||||
Documentation=https://forgejo.org/docs/latest/admin/actions/
|
Documentation=https://forgejo.org/docs/latest/admin/actions/
|
||||||
After=podman-socket.service
|
After=podman-socket.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/forgejo-runner/.local/bin/forgejo-runner daemon
|
ExecStart=/home/forgejo-runner/.local/bin/forgejo-runner daemon
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
WorkingDirectory=/home/forgejo-runner
|
WorkingDirectory=/home/forgejo-runner
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
|
@ -102,4 +102,4 @@ journalctl -xe --user-unit=forgejo-runner
|
||||||
systemctl --user status forgejo-runner
|
systemctl --user status forgejo-runner
|
||||||
```
|
```
|
||||||
|
|
||||||
__Go into Forgejo and check that your runner is shown as UP__.
|
__Go into Forgejo and check that your runner is shown as UP__.
|
||||||
|
|
Loading…
Add table
Reference in a new issue