added comments to libreddit.service and .conf
This commit is contained in:
parent
e25622dac2
commit
22e3e0eb91
@ -1,2 +1,16 @@
|
|||||||
ADDRESS=0.0.0.0
|
ADDRESS=0.0.0.0
|
||||||
PORT=12345
|
PORT=8080
|
||||||
|
#LIBREDDIT_DEFAULT_THEME=default
|
||||||
|
#LIBREDDIT_DEFAULT_FRONT_PAGE=default
|
||||||
|
#LIBREDDIT_DEFAULT_LAYOUT=card
|
||||||
|
#LIBREDDIT_DEFAULT_WIDE=off
|
||||||
|
#LIBREDDIT_DEFAULT_POST_SORT=hot
|
||||||
|
#LIBREDDIT_DEFAULT_COMMENT_SORT=confidence
|
||||||
|
#LIBREDDIT_DEFAULT_SHOW_NSFW=off
|
||||||
|
#LIBREDDIT_DEFAULT_BLUR_NSFW=off
|
||||||
|
#LIBREDDIT_DEFAULT_USE_HLS=off
|
||||||
|
#LIBREDDIT_DEFAULT_HIDE_HLS_NOTIFICATION=off
|
||||||
|
#LIBREDDIT_DEFAULT_AUTOPLAY_VIDEOS=off
|
||||||
|
#LIBREDDIT_DEFAULT_SUBSCRIPTIONS=off (sub1+sub2+sub3)
|
||||||
|
#LIBREDDIT_DEFAULT_HIDE_AWARDS=off
|
||||||
|
#LIBREDDIT_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION=off
|
||||||
|
@ -5,8 +5,8 @@ After=network.service
|
|||||||
[Service]
|
[Service]
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
# Default Values
|
# Default Values
|
||||||
Environment=ADDRESS=0.0.0.0
|
#Environment=ADDRESS=0.0.0.0
|
||||||
Environment=PORT=8080
|
#Environment=PORT=8080
|
||||||
# Optional Override
|
# Optional Override
|
||||||
EnvironmentFile=-/etc/libreddit.conf
|
EnvironmentFile=-/etc/libreddit.conf
|
||||||
ExecStart=/usr/bin/libreddit -a ${ADDRESS} -p ${PORT}
|
ExecStart=/usr/bin/libreddit -a ${ADDRESS} -p ${PORT}
|
||||||
|
Loading…
Reference in New Issue
Block a user