Add owobot.service
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-12-04 16:33:06 -08:00
parent c7ea59d512
commit 0c6397acfa
2 changed files with 15 additions and 4 deletions

View File

@ -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

11
owobot.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=owobot
After=network-online.target
[Service]
ExecStart=owobot
Restart=always
StandardOutput=journal
[Install]
WantedBy=default.target