Systemd is a replacement for the classic init during boot.

1
vote
0answers
31 views

Using systemd to run airflow inside conda environment

I configured an Airflow server installed within a conda environment to run some scheduled automations. Currently, I launch the scheduler, workers and webserver directly using nohup, but I'd like to ...
30
votes
2answers
31k views

systemd - Giving my service multiple arguments

Is it possible to give my systemd service more than one argument? I'd like to execute a program with multiple arguments which have to be decided by the final user.E.g: http://superuser.com/program arg1 arg2To ...
0
votes
2answers
67 views

How to select the OpenRC init system during Linux installation?

I want to install Debian Linux (on a 2009 Macbook Pro), opting for the OpenRC init system. By default, Debian uses Systemd. During the installation, I did not see any option to choose the init system; ...
3
votes
2answers
4k views

Automatically unlock LUKS partition using a key on an USB drive on Debian Jessie

I am trying to have the encrypted root partition be unlocked on boot automatically using a connected USB drive on a fresh installation of Debian Jessie (no non-systemd upgrade). After following a ...
17
votes
3answers
8k views

Writing a service that depends on Xorg

I'm trying to write a user level service for redshift, and it needs to wait until Xorg is up and running. My current service file looks like this:[Unit]Description=RedshiftAfter=graphical.target[...
1
vote
0answers
12 views

Nautilus does not have permission to mount; webcam and scanner are only recognised if the program has superuser permissions

I installed a minimal version of fedora 27 and have encountered several permission problems.When I try to mount a USB Stick using Nautilus or PCManFM it displays «Not authorized to perform operation»...
0
votes
1answer
34 views

How to manage a systemd service which needs multiple processes?

I have a website which requires several processes to be running (python, node, etc). I currently have a systemd service created so I can easily start and stop those processes. I created a start script ...
1
vote
0answers
17 views

Systemd Service stops when closing my SFTP / SSH Connection

I recently moved my Server from a virtual machine to a new machine.Since then I sometimes have the inexplicable event, that my Teamspeak Server stops (and that auto-restarts because that's how I ...
0
votes
1answer
28 views

systemd start /etc/systemd/system/custom.service cannot start

I have an openSUSE Leap 42.3 and I try to run a systemd service via udev in order to automate my backups. I use a simple systemd service that starts the backup script which works just fine from the ...
0
votes
1answer
40 views

How can I make a systemd --user timer stay enabled after reboot?

System is: Ubuntu 16.04.~/.config/systemd/user/mpd.timer[Unit]Description=mpd timer[Timer]OnCalendar=minutelyPersistent=true[Install]WantedBy=default.target~/.config/systemd/user/mpd....
1
vote
1answer
139 views

Xorg 1.17.4: launched with startx — -seat seat1, but why doesn't loginctl show “seat1”?

I'm looking to add a separate X instance and a seat to a running system.$ startx -- :9 -novtswitch -sharevts -seat seat1Things launch OK, but loginctl doesn't show the seat anywhere.$ [-] ...
0
votes
0answers
18 views

Linux cgroup: move a process from one cgroup to another

Preface: I am not 100 percent familiar with systemd and the concepts of unit files, but I have done some reading.Context: I want to move a process from one cgroup tree to another, on distro running ...
2
votes
2answers
747 views

Automounting USB drives on a headless systemd linux box?

Approaches to auto-mounting devices in Linux keep changing, and googling returns quite a few solutions with various degrees of applicability for modern systemd-based boxes.The following approaches ...
0
votes
2answers
7k views

Switching to systemd on Linux Mint

I have linux mint 17.1 running on a laptop which takes forever to boot. To speed up the boot I want to switch to systemd. How can I switch to systemd?
1
vote
1answer
1k views

Shell script fails when executed by systemd service

So I have a systemd service called startup.service:[Unit]Description=startup scripts[Service]Type=oneshotExecStart=/home/user/Documents/Tools/Scripts/startup.sh[Install]WantedBy=multi-user....

153050per page