15 lines
298 B
Desktop File
15 lines
298 B
Desktop File
[Unit]
|
|
Description=libreddit daemon
|
|
After=network.service
|
|
|
|
[Service]
|
|
DynamicUser=yes
|
|
# Default Values
|
|
Environment=ADDRESS=0.0.0.0
|
|
Environment=PORT=8080
|
|
# Optional Override
|
|
EnvironmentFile=-/etc/libreddit.conf
|
|
ExecStart=/usr/bin/libreddit -a ${ADDRESS} -p ${PORT}
|
|
|
|
[Install]
|
|
WantedBy=default.target
|