aboutsummaryrefslogtreecommitdiff
path: root/config.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-11 20:00:41 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-11 20:02:42 +0200
commit5b3679958264327da2875ca2d0fd44f321cf9e2c (patch)
treeccb5c196d1c29e75114c93545e4c02e78f22a25b /config.scm
parentFix name collision in server entry-point. (diff)
downloadcalp-5b3679958264327da2875ca2d0fd44f321cf9e2c.tar.gz
calp-5b3679958264327da2875ca2d0fd44f321cf9e2c.tar.xz
Replace systemd service with working, remove PKGBUILD.
Diffstat (limited to 'config.scm')
-rw-r--r--config.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.scm b/config.scm
index 96d86006..04b63b71 100644
--- a/config.scm
+++ b/config.scm
@@ -7,6 +7,12 @@
(sxml xpath)
)
+(when (getenv "SYSTEMD")
+ ((@ (calp entry-points server) port) 58080)
+ ((@ (calp html config) debug) #f)
+ ((@ (calp html config) edit-mode) #t)
+ )
+
((@ (vcomponent config) calendar-files) (glob "~/.local/var/cal/*"))
(define my-courses