diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/install | 2 | ||||
-rw-r--r-- | debian/shopno-os-log-sync@.user.service | 6 | ||||
-rw-r--r-- | debian/shopno-os-log-sync@.user.timer | 9 |
4 files changed, 23 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 93e66fe..7e881aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +shopno-os-log-sync (1.99.2) shopno; urgency=medium + + * Implement Log uploader + + -- Mubashshir <ahm@jadupc.com> Thu, 23 Mar 2023 17:01:35 +0600 + shopno-os-log-sync (1.99.1) shopno; urgency=medium * Add Autostart entry diff --git a/debian/install b/debian/install index 0da326b..1e3ced0 100644 --- a/debian/install +++ b/debian/install @@ -1,3 +1,5 @@ src/Watcher/ usr/share/ src/bin/watcher usr/bin/ data/shopno-os-log.desktop etc/xdg/autostart/ +data/scripts/common.sh usr/share/Watcher/ +data/scripts/log-sync usr/share/Watcher/ diff --git a/debian/shopno-os-log-sync@.user.service b/debian/shopno-os-log-sync@.user.service new file mode 100644 index 0000000..928dd23 --- /dev/null +++ b/debian/shopno-os-log-sync@.user.service @@ -0,0 +1,6 @@ +[Unit] +Description=Sync %I logs + +[Service] +Type=oneshot +ExecStart=/usr/share/Watcher/log-sync %i diff --git a/debian/shopno-os-log-sync@.user.timer b/debian/shopno-os-log-sync@.user.timer new file mode 100644 index 0000000..ec7bbb3 --- /dev/null +++ b/debian/shopno-os-log-sync@.user.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Sync usage logs with server %i + +[Timer] +OnCalendar=%i +Persistent=true + +[Install] +WantedBy=timers.target |