12 lines
521 B
Plaintext
12 lines
521 B
Plaintext
# Example drop-in for bare-os-discord.
|
|
# The unit is registered only when ~/.discord/.env exists with DISCORD_TOKEN=.
|
|
# Optional: DISCORD_ID_WHITELIST=id,id in that file (comma-separated Discord user ids).
|
|
# It does not appear in `systemctl list` until that file is present.
|
|
# After creating the file: systemctl daemon-reload && systemctl start bare-os-discord
|
|
# Disable: BARE_OS_DISCORD_INITD=0
|
|
|
|
[Unit]
|
|
Description=Discord ping-pong bot (requires ~/.discord/.env)
|
|
After=kernel-logger
|
|
ConditionPathExists=~/.discord/.env
|