mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 14:09:53 +01:00
20 lines
401 B
SYSTEMD
20 lines
401 B
SYSTEMD
|
[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
|