Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

systemd

Output of a python script running as unit is out of order while shells seems unnafected

August 11, 2022 by Magenaut

How would I get all outputs of systemd managed python2 script instantly into journal, just like it appears in terminal

Categories Q&A, Unix & Linux Tags python, stdout, systemd, systemd-journald Leave a comment

Location to place systemd service EnvironmentFile when creating debian package

August 11, 2022 by Magenaut

I am currently rewriting upstart jobs to use systemd and I wanted to know:

Categories Q&A, Unix & Linux Tags environment-variables, files, systemd Leave a comment

How to see full log from systemctl status service?

August 11, 2022 by Magenaut

I check service status with systemctl status service-name.

Categories Q&A, Unix & Linux Tags logs, systemd Leave a comment

How to start 2FA-using OpenVPN with systemd?

August 11, 2022 by Magenaut

I have openvpn config that users 2 factor authentication.

Categories Q&A, Unix & Linux Tags openvpn, systemd, ubuntu Leave a comment

Is it OK to change /etc/machine-id?

August 11, 2022 by Magenaut

I cloned a disk (SSD) and put the cloned disk into another machine. Now both systems have the same value in /etc/machine-id. Is it any problem to simply edit /etc/machine-id to change the value? Can I do this while the system is running (or do I need to boot from a Live USB)?

Categories Q&A, Unix & Linux Tags d-bus, systemd Leave a comment

How to configure systemd-resolved and systemd-networkd to use local DNS server for resolving local domains and remote DNS server for remote domains?

August 11, 2022 by Magenaut

I’m connected to local area network with access to the Internet through gateway. There is DNS server in local network which is capable of resolving hostnames of computers from local network.

Categories Q&A, Unix & Linux Tags dns, linux, systemd, systemd-networkd, systemd-resolved Leave a comment

How to unload kernel module ‘nvidia-drm’?

August 11, 2022 by Magenaut

I’m trying to install the most up-to-date NVIDIA driver in Debian Stretch. I’ve downloaded NVIDIA-Linux-x86_64-390.48.run from here, but when I try to do

Categories Q&A, Unix & Linux Tags debian, kernel, kernel-modules, nvidia, systemd Leave a comment

Writing a systemd service to be executed at resume

August 11, 2022 by Magenaut

my Dell laptop is subject to this bug with kernel 3.14. As a workaround I wrote a simple script

Categories Q&A, Unix & Linux Tags laptop, systemd Leave a comment

In systemd, what starts units generated by generator?

August 11, 2022 by Magenaut

On my machine (Arch linux), systemd-generator generates some unit files in /run/systemd/generator/ and they seem to be started somehow on boot. What is starting them?

Categories Q&A, Unix & Linux Tags systemd Leave a comment

How do I setup user autostart and properly configure systemd user services?

August 11, 2022 by Magenaut

On my arch server, I was setting up users restricted to their home directories. I ran:

Categories Q&A, Unix & Linux Tags arch-linux, systemd, systemd-unit, users Leave a comment
Older posts
Page1 Page2 … Page9 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress