Merge pull request 'Systemd Unit File' (#16) from systemd into main
All checks were successful
Run Tests on Code / run-tests (push) Successful in 14s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 14s
Reviewed-on: #16
This commit is contained in:
commit
bb98a6bfce
3 changed files with 17 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -43,7 +43,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "aob-lemmy-bot"
|
||||
version = "2.2.0-rc.1"
|
||||
version = "2.2.0-rc.3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"confy",
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
[package]
|
||||
authors = ["Neshura"]
|
||||
name = "aob-lemmy-bot"
|
||||
version = "2.2.0-rc.1"
|
||||
version = "2.2.0-rc.3"
|
||||
edition = "2021"
|
||||
description = "Bot for automatically posting new chapters of 'Ascendance of a Bookworm' released by J-Novel Club"
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
[package.metadata.deb]
|
||||
extended-description = "Bot for automatically posting new chapters of 'Ascendance of a Bookworm' released by J-Novel Club"
|
||||
#maintainer-scripts = "debian/" currently disabled since the application is not runnable as a daemon
|
||||
maintainer-scripts = "debian/"
|
||||
revision = "1"
|
||||
depends = ["libc6", "libssl3", "systemd"]
|
||||
#systemd-units = { enable = false }
|
||||
systemd-units = { enable = false }
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
13
debian/aob-lemmy-bot.service
vendored
13
debian/aob-lemmy-bot.service
vendored
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description="Bot for automatically posting new chapters of 'Ascendance of a Bookworm' released by J-Novel Club"
|
||||
After=syslog.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/aob-lemmy-bot
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue