Questions tagged [systemd]
Systemd is a replacement for the classic init during boot.
850
questions
0
votes
0
answers
54
views
Possible to expand/use a variable value, in another variable, in a systemd service file?
All I want to do, is to re-use the name I enter in the User= specification in a systemd .service file; e.g. I would have liked to do this in a .service file:
# ...
User=my-username
Environment="...
0
votes
1
answer
28
views
What is the difference/precedence of resolved.conf and a .network configuration?
There are two places where I can set up the DNS server for a systemd linux (static configuration):
in /etc/systemd/resolved.conf, in the [Resolve] section, a DNS= entry
in /etc/systemd/network/<...
0
votes
0
answers
98
views
Linux systemd-resolved not answering MulticastDNS
In general, I'm currently replacing all networking stuff with the builtin systemd facilities. NetworkManager, dnsmasq, dhcpcd, avahi-daemon -- all gone, and things seem to be mostly working.
Except ...
0
votes
0
answers
36
views
"Failed to Mount API filesystems". On copied drive with updated partition UUID's
So I directly cloned the partition layout of my main linux installation.
Which is Fedora 38, using commands as follows.
sgdisk --backup=table /dev/sda
sgdisk --load-backup=table /dev/sdb
I updated ...
0
votes
0
answers
87
views
Simple CentOS 7 systemd service doesn't run on CentOS 9
I'm running a minecraft server on CentOS 7 using this systemd service to restart it on crashes.
The service config is located at /etc/systemd/system/my_minecraft_server.service:
[Unit]
Description=...
0
votes
2
answers
131
views
Cannot change interface name for add-in network card
I am trying to assign persistent names to network interfaces on a Linux Mint 21.3 PC. This particular PC often has PCIe devices added and removed, so the 'predictable' naming scheme of enpXs0 is ...
1
vote
0
answers
31
views
Different results from a script when using absolute or relative path in Linux
I get different behaviors running “/etc/init.d/wls start” compared to changing to the /etc/init.d directory and running “./wls start” on a RHEL 8 Linux system. The first one uses “systemctl” while ...
1
vote
0
answers
28
views
How to run a program after the last modification of a file with systemd?
I'd like to run a program after the last modification of a particular file. The program should not be run concurrently with itself. If the file is modified while the program is running, it should be ...
0
votes
1
answer
40
views
Firefox has permission to start wpa_supplicant when calling navigator.geolocation
I've been dealing with some annoying attacks lately, and got super paranoid after discovering wpa_supplicant.service running as it definitely should not be on this particular machine. After a little ...
0
votes
0
answers
70
views
How to start tomcat at boot time as a systemd service?
This is my Unit file:
# Systemd unit file for tomcat
[Unit]
Description=Apache Tomcat Web Application Container
Wants=network.target
After=syslog.target network-online.target
[Service]
Type=forking
...
0
votes
0
answers
104
views
systemd before,after,requires all not working like expected
I have an nfs mount on a debian12 system running systemd252, i need this to be mounted at startup before zfs but after network-online.target, so i tried using /etc/fstab but that keeps loading before ...
0
votes
0
answers
139
views
debian 12 , systemctl-timesyncd is inactive on boot
I have tried follow ways to enable systemd-timesyncd , but not working. after reboot , it still is inactive , although it's active before reboot.
1.
timedatectl set-ntp yes
sudo systemctl enable ...
1
vote
0
answers
44
views
Is CPUQuota per core or per machine?
In order to prevent buggy sites from freezing my system I imposed a CPU Quota limit of 95%, a Memory High of 2G and a Memory Max of 3G on my Firefox flatpak as described by the flatpak documentation.
$...
0
votes
0
answers
242
views
Failed to enable unit: Invalid argument systemctl enable .service
I have made a startup_test.sh with the following contents
cd /home/xyz/Desktop/
gnome-terminal -e "bash -c ./efg"
#desktop folder contains an executable named efg.
If I run gnome-terminal -...
0
votes
2
answers
50
views
How would you include a specific module to load at boot in Debian?
I am working with Klipper for 3D printing, and I came across a pull request that allowed for TTY support in Klipper, to allow a Mosaic Palete 3 Pro to control the printer for its Connected Mode.
I ...