Add owobot.service
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
c7ea59d512
commit
0c6397acfa
|
@ -16,7 +16,7 @@ builds:
|
|||
- riscv64
|
||||
archives:
|
||||
- files:
|
||||
- scripts/completion/*
|
||||
- owobot.service
|
||||
nfpms:
|
||||
- id: owobot
|
||||
description: "The coolest bot ever written"
|
||||
|
@ -32,8 +32,8 @@ nfpms:
|
|||
conflicts:
|
||||
- owobot
|
||||
contents:
|
||||
- src: scripts/completion/bash
|
||||
dst: /usr/share/bash-completion/completions/lure
|
||||
- src: owobot.service
|
||||
dst: /etc/systemd/system/owobot.service
|
||||
aurs:
|
||||
- name: owobot-bin
|
||||
homepage: 'https://gitea.elara.ws/owobot/owobot'
|
||||
|
@ -52,7 +52,7 @@ aurs:
|
|||
install -Dm755 ./owobot "${pkgdir}/usr/bin/owobot"
|
||||
|
||||
# services
|
||||
# TODO
|
||||
install -Dm644 ./owobot.service "${pkgdir}/etc/systemd/system/owobot.service"
|
||||
release:
|
||||
gitea:
|
||||
owner: owobot
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=owobot
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=owobot
|
||||
Restart=always
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue