feat: first commit
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
This commit is contained in:
17
files/systemd/actrunner@.service
Normal file
17
files/systemd/actrunner@.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Gitea Actions runner #%i
|
||||
Documentation=https://gitea.com/gitea/act_runner
|
||||
After=network.target gitea.service
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/rpmdev-setuptree
|
||||
ExecStart=/usr/local/bin/act_runner daemon
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
WorkingDirectory=/opt/actrunners/actrunner%i
|
||||
TimeoutSec=0
|
||||
RestartSec=10
|
||||
Restart=always
|
||||
User=actrunner%i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
15
files/systemd/gitea.service
Normal file
15
files/systemd/gitea.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/var/lib/gitea/
|
||||
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user