Skip to main content

All Questions

Tagged with
0 votes
1 answer
107 views

Does linux/systemd/agetty support doubble ended serial-getty consoles?

My apologies if this is a ultra basic question: Does linux / systemd / agetty support double ended serial-getty consoles? For example I have two remote servers A and B, they are running a recent ...
turtle's user avatar
  • 196
0 votes
1 answer
100 views

auto login as guest without gdm3 with systemd ubuntu 18.04

I Installed Ubuntu 18.04 and removed gdm3 package. Now on startup I get LXDE GUI with my default admin user logged in (the one created after initial OS setup with sudo capabilities). I wish to create ...
hutcruchi's user avatar
  • 349
0 votes
1 answer
754 views

How to get systemd user unit logs?

I'm using loginctl --enable-linger USERNAME to activate user services. The unit files are stored in $HOME/.config/systemd/.... Now a service that worked before starts (I can see it in process listing) ...
Michael's user avatar
  • 1,683
1 vote
0 answers
142 views

Restart systemd service when GPU memory limit is reached

I'm using the following systemd service on Ubuntu 22.04 LTS. The service is saved in /lib/systemd/system/myService.service [Unit] Description=myService RequiresMountsFor=/mnt/Data [Service] ExecStart=...
BlackHawk's user avatar
  • 111
2 votes
1 answer
1k views

Difference between ubuntu systemd simple(oneshot) and forking?

#!/bin/bash sleep 2 nohup java -jar /home/ubuntu/radius/radius-test.jar >> /home/ubuntu/radius/radius.log & nohup java -jar /home/ubuntu/radius/radius-test-2.jar >> /home/ubuntu/radius/...
남혁준's user avatar
0 votes
3 answers
2k views

Both systemd-networkd and NetworkManager starts by itself

This is ubuntu 20.04. I stopped and disabled systemd-networkd. Then enabled NetworkManager. But after reboot both services come up. Keeps happening like that. I want to manage my server using nmcli, ...
rajeev's user avatar
  • 245
0 votes
0 answers
375 views

system.d custom service not running correctly script.sh but as user can run script.sh manually

[SOLVED] My questions is simple, I created a mcboot.service wich auto start my All The Mod 8 MC server, I sysctl enabled it, and did daemon-reload, my issue now is, I can execute without issue the run....
Elmani335's user avatar
0 votes
1 answer
124 views

Why is my systemd service creating write protected files?

I have created a systemd service in my Ubuntu 22.04 laptop that runs a java program by calling a bash file. [Unit] Description=Script to run JMS [Service] ExecStart=bash /home/user/Desktop/...
marcos's user avatar
  • 1
0 votes
1 answer
724 views

Turn off attached server monitor on system startup

Edited I have turned my older Macbook into a linux server installing Ubuntu Server 22.04 TTL. I only SSH into this system and would like to keep the monitor turned off. The following command works ...
Arash's user avatar
  • 21
2 votes
1 answer
603 views

Configure cgroups v2 for fair resources sharing between users

Is there a way to restrict system resources to users? I know that used to exist a way of forcing every newly spawned process of a user into the specified cgroup by using cgred service along with /etc/...
Centuri0n's user avatar
1 vote
0 answers
418 views

journalctl -b -1 always shows the same log?

When reading the manual for journalctl I get the impression that -b -1 will show the boot one before the most recent. When I use it I'm always shown the same log. Did I misunderstand something? I've ...
Andreas's user avatar
  • 521
0 votes
0 answers
480 views

nodejs process doesn't stop on 'systemctl stop' while running as an Ubuntu systemd service

when trying to stop a nodejs process running from a service file the service is never actually stopped, and just keeps running, forcing me to manually kill the process in htop each time. any ideas on ...
ieatglue's user avatar
7 votes
1 answer
934 views

Service stops and starts with just the start command Ubuntu

I have recently created a service on my Ubuntu LTS server allowing me to test the uptime of my network. The script itself works as intended, but when I attempted to make it into a service I ...
Zach Frank's user avatar
0 votes
0 answers
2k views

Failed to connect to bus

While I am trying to execute systemctl --user enable rclone@gdrive or systemctl --user start rclone@gdrive on reboot time, I am getting following error: Failed to connect to bus: $...
Soft Dev's user avatar
0 votes
1 answer
4k views

Systemd cannot exec a start command with error: No such file or directory, but the path is correct and permissions are correct aswell

So I have this modded minecraft server which has a launch script that is very simple and I wanted to control the server using systemd. Here is the launch script: #!/bin/sh # Server Launch Script # # ...
mux's user avatar
  • 1

15 30 50 per page
1 2
3
4 5
20