docs: slightly improve docs

This commit is contained in:
Sam 2023-03-23 10:49:49 +01:00
parent dd608bbb22
commit 0d5b6e276e
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 73 additions and 47 deletions

View file

@ -0,0 +1,19 @@
[Unit]
Description=Clean pronouns.cc database
After=syslog.target
After=network.target
Requires=postgresql.service redis.service
[Service]
RestartSec=2s
Type=oneshot
User=pronouns
Group=pronouns
AmbientCapabilities=
WorkingDirectory=/home/pronouns/src
ExecStart=/home/pronouns/src/pronouns database clean
Restart=no
Environment=USER=pronouns HOME=/home/pronouns
[Install]
WantedBy=multi-user.target