Systemd is a replacement for the classic init during boot.

learn more…| top users | synonyms

0
votes
0answers
15 views

SASL Authentication in Postfix

I am facing issue in starting saslauthd service. When I try to start saslauthd, below error is thrown:[root@WQCogDev5 sysconfig]$ systemctl status saslauthdâ saslauthd.service - SASL authentication ...
0
votes
1answer
19 views

In systemd how would I get how long the last job took to run?

When I look for systemd job timing I get a lot of docks about timers which isn't what I'm looking for. How would I time the length of execution of a systemctl start xyz job
2
votes
1answer
18 views

How do I use PuTTY to interact with a service running on /dev/tty2?

Okay, so I have a program (which I did not write and cannot modify) which I am running as a service using systemd on my Ubuntu 16.04 cloud server. It's working great, except that I need to be able to ...
0
votes
0answers
15 views

xvfb-run [command] as systemd service on startup

I want to let Spotify run in background on my homeserver (Ubuntu 16.04) so that i can use it for audio streaming to speakers connected to it (SpotifyConnect). With xvfb-run -a spotify --disable-gpu ...
-3
votes
1answer
25 views

how to find out the systemd version (raspbian)

How can I find the systemd version that came as part of my linux (raspbian) installation?On running lsb_release -a, I get the linux (raspbian) version information as followsDistributor ID: ...
1
vote
1answer
45 views

How to avoid an absolute path to an executable in systemd?

I have multiple different projects already containing Upstart services and am implementing the approach to symlink those services into /etc/init directly from a SVN working copy. Upstart provides ...
0
votes
1answer
14 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; ...
0
votes
1answer
18 views

Systemd timer is irregular

I am trying to set up a systemd timer that will run every 5 seconds (it will be sending realtime stats to a remote server) as explained here.Service[Unit]Description=PHP CronWants=network.target...
3
votes
1answer
136 views

Pulseaudio: wait for devices on start?

Based on this guide, I set up pulseaudio on my Raspberry Pi to run in system mode. Here's how my systemd service file looks like:[Unit]Description=PulseAudio DaemonAfter=sound.targetRequires=...
1
vote
1answer
28 views

File permissions for systemd init script

I'm just starting to explore systemd init scripts after upgrading to Ubuntu 16.04LTS. What should the ownership and file permissions be on my .service files?It currently is by default:-rw-rw-r-- ...
0
votes
0answers
53 views

How to specify conditional Wants or WantedBy in systemd unit file

I am trying to start zfs.target only if certain condition is met but don't know how achieve it. zfs.target wants(actually wantedby the service files) zfs-import-scan.service, zfs-import-cache.service, ...
1
vote
1answer
57 views

Systemd service - Python script inside Screen on boot

Im currently running a python script inside a Screen session through this script in rc.local:screen -L -dmS pi python /home/pi/truck/main2.py &But I would like it to run through systemd so I ...
0
votes
1answer
44 views

systemd forking vs simple?

I am writing my first systemd unit file.For Type, there are a few choices: forking, simple, etc. I have read the Redhat Documentation on this topic (Table 9.9) , but still am not sure when I should ...
2
votes
0answers
51 views

how to know who start a Linux kernel module

There is a running kernel module (netns_vrf) in my Linux computer, like this:$ lsmod | grep vrfnetns_vrf 8388 0This kernel module is not from Linux distribution, it is from a third ...
1
vote
0answers
38 views

How to reliably stop services with systemd

I want to stop service Foo and service Bar with systemctl. Service Bar Requires: Foo and After: Foo.When I issue a command:systemctl stop Foo BarService Bar crashes on stop (this is not an issue ...

153050per page