Skip to main content

All Questions

Tagged with
0 votes
1 answer
847 views

Why is my systemd startup script not running properly? (ubuntu 20.04)

I have created two systemd startup scripts as per https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/, containing the following: #1 #!/bin/bash synclient ...
Bart Weil's user avatar
0 votes
2 answers
1k views

Systemd service (calling sh script as services) - how to get updated status

I have the following working systemctl systemd startup script that automatically starts on reboot perfectly (other dbdeployer dependency starting too). Its a .sh script where I created a few different ...
CvRChameleon's user avatar
2 votes
0 answers
342 views

Slow boot process while ubuntu starts because of systemd temporary file creation

I run ubuntu 16.04 on a Dell laptop; I just love the fact that you can set the workspace to a grid format in 16.04, unlike say 18.04 where it looks like a line, but not sure if 20 does have the grid ...
Curious's user avatar
  • 21
3 votes
1 answer
1k views

Unable to start postgres unless I type the command to restart it

Whenever I try to start my project the following error occurs. django.db.utils.OperationalError: could not connect to server: No such file or directory Is the server running locally and ...
Rafael Tamayo's user avatar
3 votes
2 answers
411 views

How to rescue Ubuntu Server 16.04 which is getting shut down by systemd script?

I wrote a program which automatically shuts down a Raspberry Pi 3b (Ubuntu Server 16.04) as soon as a button is pressed. It's nothing than a small bash script which reads a GPIO pin of the Pi every ...
h_uat's user avatar
  • 43
1 vote
0 answers
720 views

How to auto-start hostapd

I've installed Ubuntu Server on my Orange Pi Zero. It should act like wifi access point. In order to start I normally have to do the following manually: /etc/init.d/hostapd start /etc/init.d/isc-dhcp-...
Pablo's user avatar
  • 245
4 votes
3 answers
65k views

How to switch from CLI to GUI Ubuntu

I am currently running Ubuntu 16.04 operating system. In order to experiment, I had asked for the way to login to Ubuntu CLI mode only (i.e. the GUI version must not start at all). In response to my ...
Upendra01's user avatar
  • 547
2 votes
0 answers
824 views

Systemd Synergy Unit File

I have a problem with systemd and Unit files. I am using Ubuntu 16.04 Gnome Edition and I want to start up the application "synergy" when I log in. After some research, I've learned that user unit ...
Ironchunk's user avatar
0 votes
1 answer
1k views

Add status info to systemd's status output

I'm writing a systemd script for a backup software client called Retrospect. This software doesn't follow any kind of typical linux ways of doing things. Getting a status from the program means ...
flickerfly's user avatar
  • 1,681