From 22e3e0eb916362c5c88b34574550f7a50a459daa Mon Sep 17 00:00:00 2001 From: Akanksh Chitimalla <55909985+Akanksh12@users.noreply.github.com> Date: Thu, 6 Apr 2023 10:06:37 +0530 Subject: [PATCH 1/2] added comments to libreddit.service and .conf --- contrib/libreddit.conf | 16 +++++++++++++++- contrib/libreddit.service | 4 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/contrib/libreddit.conf b/contrib/libreddit.conf index dd91e3b..a56e45a 100644 --- a/contrib/libreddit.conf +++ b/contrib/libreddit.conf @@ -1,2 +1,16 @@ 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 diff --git a/contrib/libreddit.service b/contrib/libreddit.service index 8ed5da7..494971b 100644 --- a/contrib/libreddit.service +++ b/contrib/libreddit.service @@ -5,8 +5,8 @@ After=network.service [Service] DynamicUser=yes # Default Values -Environment=ADDRESS=0.0.0.0 -Environment=PORT=8080 +#Environment=ADDRESS=0.0.0.0 +#Environment=PORT=8080 # Optional Override EnvironmentFile=-/etc/libreddit.conf ExecStart=/usr/bin/libreddit -a ${ADDRESS} -p ${PORT} From 17f7f6a9d10f5ff90c13a47a789821f1c1bf0037 Mon Sep 17 00:00:00 2001 From: Akanksh Chitimalla <55909985+Akanksh12@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:17:19 +0530 Subject: [PATCH 2/2] changed default port to 12345 --- contrib/libreddit.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libreddit.conf b/contrib/libreddit.conf index a56e45a..e1bb5e7 100644 --- a/contrib/libreddit.conf +++ b/contrib/libreddit.conf @@ -1,5 +1,5 @@ ADDRESS=0.0.0.0 -PORT=8080 +PORT=12345 #LIBREDDIT_DEFAULT_THEME=default #LIBREDDIT_DEFAULT_FRONT_PAGE=default #LIBREDDIT_DEFAULT_LAYOUT=card