Error: no such theme PatternSkinTheme

SACDaq Data Logging Suite

Introduction

Setup for Automated Logging

  • Create user account

# useradd -m -s /bin/bash sacdaq
# gpasswd -a sacdaq i2c
# gpasswd -a spi sacdaq

  • Create working directory

# mkdir /opt/sacdaq
# chown sacdaq:sacdaq /opt/sacdaq

  • Check out code

# sudo -u sacdaq -s
$ cd /opt/sacdaq
$ git clone $git_repo
$ mkdir logs

  • Install Perl dependencies

(Debian)
# apt-get install libdatetime-perl libyaml-perl libipc-run-perl libfile-slurp-perl libuuid-tiny libdbix-class-perl libdbd-sqlite3-perl libsql-translator-perl
# cpan Device::I2C

  • Configure sensors

  • Create systemd service

/etc/systemd/system/sacdaq.service:

[Unit]
Description=SACDaq Agent

[Service]
Type=simple
ExecStart=/opt/sacdaq/agent.pl
WorkingDirectory=/opt/sacdaq
User=sacdaq
Group=sacdaq
# only on systemd >=236
#StandardOutput="file:/opt/sacdaq/logs/agent.log"
#StandardError="file:/opt/sacdaq/logs/agent.err"



-- StephenCavilia - 06 Nov 2018
Topic revision: r1 - 06 Nov 2018, StephenCavilia
 

This site is powered by FoswikiCopyright © 2009-2018 StephenCavilia and contributing authors. This topic, SacDaq is available under the Creative Commons Attribution-ShareAlike 3.0 license.
Ideas, requests, problems regarding CodenamePending? Send feedback