# aj-snapshot.service for embedded headless machines with USB sound card or other. # done for iemKit domeplayer # the idea is that other services depending on this will start audio applications # for installations # # (c) GPL, 2017 IEM, Winfried Ritsch # # first install a snapshot: # mkdir /etc/aj-snapshot # ajsnapshot -j /etc/aj-snapshot/routing.snap # with kill -HUP of the daemon it will reload the snapshot (to be impemented below) [Unit] Description=aj-snapshot After=syslog.target network.target jackd.service [Service] Type=simple User=algo Group=algo LimitMEMLOCK=infinity ExecStart=/usr/bin/aj-snapshot -xjd /etc/aj-snapshot/routing.snap SuccessExitStatus=0 #RemainAfterExit=true [Install] WantedBy=multi-user.target #WantedBy=jackd.target #RequiredBy=aj-snapshot.target