Search results

  1. S

    Python script as a systemd service

    I’ve found the main cause of the issue. It was because service environment var (‘FILE’) was described in two places and it’s value was different: /etc/systemd/system/MY-SERVICE.service; (FILE=value1) /etc/systemd/system/MY-SERVICE.service.d/override.conf (a unit snippet override file)...
  2. S

    Python script as a systemd service

    Hi Tolkem, Thank you for your reply! Yes, I have enabled service and restarted the daemon and my service. That's correct, .service file is located in /etc/systemd/system/
  3. S

    Python script as a systemd service

    Hi community, I'm running a python script as a systemd service. The task of the script is extremely simple: check the last few lines of the file for changes. However, the problem is that for some reason, when the script is running as a systemd service, nothing happens, what I mean, is that the...
Top