summaryrefslogtreecommitdiffstats
path: root/system/xrdp/xrdp-sesman
diff options
context:
space:
mode:
Diffstat (limited to 'system/xrdp/xrdp-sesman')
-rw-r--r--system/xrdp/xrdp-sesman11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/xrdp/xrdp-sesman b/system/xrdp/xrdp-sesman
new file mode 100644
index 0000000000..8b2984f8f5
--- /dev/null
+++ b/system/xrdp/xrdp-sesman
@@ -0,0 +1,11 @@
+/var/log/xrdp-sesman.log {
+ # create 644 root root
+ daily
+ # compress
+ # rotate 7
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /var/run/xrdp-sesman.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}
+