From 1104473546c0498b57ade8ee9d8d8a978cde58d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Le=C3=9Fmann=20=28=40MarkL4YG=29?= Date: Tue, 7 Jan 2025 16:35:57 +0100 Subject: [PATCH] Add editorconfig for docs project --- .editorconfig | 8 ++++++++ docs/forgejo-runner.service | 32 ++++++++++++++++---------------- docs/hosting-runners.md | 2 +- 3 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9141329 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 diff --git a/docs/forgejo-runner.service b/docs/forgejo-runner.service index c731825..10b7b2a 100644 --- a/docs/forgejo-runner.service +++ b/docs/forgejo-runner.service @@ -1,16 +1,16 @@ -[Unit] -Description=Forgejo Runner -Documentation=https://forgejo.org/docs/latest/admin/actions/ -After=podman-socket.service - -[Service] -ExecStart=/home/forgejo-runner/.local/bin/forgejo-runner daemon -ExecReload=/bin/kill -s HUP $MAINPID -WorkingDirectory=/home/forgejo-runner - -Restart=on-failure -TimeoutSec=0 -RestartSec=10 - -[Install] -WantedBy=default.target +[Unit] +Description=Forgejo Runner +Documentation=https://forgejo.org/docs/latest/admin/actions/ +After=podman-socket.service + +[Service] +ExecStart=/home/forgejo-runner/.local/bin/forgejo-runner daemon +ExecReload=/bin/kill -s HUP $MAINPID +WorkingDirectory=/home/forgejo-runner + +Restart=on-failure +TimeoutSec=0 +RestartSec=10 + +[Install] +WantedBy=default.target diff --git a/docs/hosting-runners.md b/docs/hosting-runners.md index 03308ca..3ef5bbe 100644 --- a/docs/hosting-runners.md +++ b/docs/hosting-runners.md @@ -102,4 +102,4 @@ journalctl -xe --user-unit=forgejo-runner systemctl --user status forgejo-runner ``` -__Go into Forgejo and check that your runner is shown as UP__. \ No newline at end of file +__Go into Forgejo and check that your runner is shown as UP__.