Posts by gintarelis

    Hello, I'm trying to setup automatic Oscam startup on my armv7 based mini-PC. It uses latest Debian distro and systemd to control services. I've created and registered a new service to start Oscam, named oscam.service:


    I can start/stop oscam using systemctl start oscam or systemctl stop oscam, but oscam ignores configuration (-c) path /usr/local/etc/oscam/. Also systemctl status oscam shows another bad things:


    You can see here bad config path; oscam.pid somewhy is not readable (it exists, I can read it manually); process is not our child (???).
    What's wrong with the service configuration? If I start Oscam manually with the same parameters:
    /usr/bin/oscam -c /usr/local/etc/oscam/ -b -r 2,
    the configuration path is OK:

    Code
    system# ps aux | grep oscam
    root      4002  0.0  0.0   4408   252 ?        Ss   15:43   0:00 /usr/bin/oscam -c /usr/local/etc/oscam/ -b -r 2
    root      4003  2.1  0.4  33840  4244 ?        S<l  15:43   0:00 /usr/bin/oscam -c /usr/local/etc/oscam/ -b -r 2


    Oscam version oscam-1.20-unstable_svn-r11297, compiled on this same machine.