The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 views

Deluge service change destination folder

I installed Deluge in my Ubuntu as a systemd daemon, and worked perfectly. I installed following this guide The problem started when I tried to change the destination folder, I am getting in every ...
-1
votes
0answers
16 views

Prevent an utility from logging into systemd-journald

I would like to prevent Cron from logging into journald. I know i can filter journalctl's output but it feels like a workaround. I have a few tasks running every minute and i don't want them to ...
1
vote
0answers
27 views

Conditional hibernate with systemd in Linux

I use to have one Linux pm-utils’ script that unmounts my mounted USB disks partitions, triggered by hibernation process. Script returned a failure exit code when unmount failed, so hibernation ...
0
votes
1answer
22 views

postgres -w flag breaking systemd

So I am pretty new to Arch and am having a strange issue. Using systemctl I can not start postgresql. Starting postgresql directly with pg_ctl works fine and it is even started briefly with systemctl. ...
0
votes
0answers
50 views

Manjaro linux slow booting times

The last few days I have been experiencing very slow boot times, I ran systemd-analyze blame and the service taking all the time is systemd-tmpfiles-setup.service, taking 4 minutes. I cleared /tmp ...
-2
votes
1answer
102 views

Systemd docker container service does not work with CentOS 7

Here is the service (/etc/systemd/system/docker-mysql.service): [Unit] Description=MySQL container Author=Me After=docker.service [Service] User=root Restart=on-failure RestartSec=10 ...
0
votes
1answer
68 views

Systemd service start error

I have a Beaglebone Black (BBB) running Angstrom Linux (v2012.12). Since none of my other Linux machines have systemd yet, and Angstrom does, I figured I'd get familiar with systemd before its shoved ...
0
votes
1answer
48 views

Sudo fails when running as service

I have a program that runs as a normal user but sometimes needs to run a command that requires root privileges. So I made a shell script and gave the user permission to run that script with sudo. The ...
0
votes
0answers
12 views

KillMode=mixed support in CEntos 7

Is there any way to support KillMode=mixed in CentOS 7 systemd scripts? According to the web: If set to mixed, the SIGTERM signal (see below) is sent to the main process while the subsequent ...
0
votes
1answer
54 views

Can I have a static link-local ipv6 address with dhcp for the other ipv6 settings? (netctl or systemd)

I'm using systemd (specifically netctl) and trying to create a network profile which has dhcp or stateless auto config IPv6 but also allows me to specify a static link-local IPv6 address. I've read ...
0
votes
0answers
50 views

`poweroff` on CentOS 7 doesn't seem to do so gracefully

I often poweroff my CentOS 7 box by entering poweroff on the command-line. It seems this is symlinked to systemctl which causes it to behave like systemctl poweroff. The documentation indicates that ...
1
vote
1answer
54 views

How to start a systemd service when a DVD is inserted?

I'm trying to write a simple systemd service that gets started when I insert a DVD into my DVD-ROM drive. However, my service never starts even though I see the relevant SYSTEMD_WANTS while running ...
1
vote
1answer
381 views

How does docker-tcp.socket actually enable Docker's remote API on CoreOS?

I'm reading through the systemd configurations for Docker on CoreOS trying to figure out how the TCP port for Docker (port 2375) gets enabled. When I look at the docker.service configuration file, I ...
0
votes
0answers
42 views

NTFS-3G unmounts USB drive as soon as it is mounted

I have created an udev rule to automount a USB hard-disk when I plug it in, but the drive doesn't appear as mounted. In /var/log/messages, I can see Dec 27 09:11:02 smug ntfs-3g[6043]: Version ...
0
votes
1answer
569 views

Can't automount USB stick with Fedora 21+systemd-udev, could with Gentoo on same machine

In Gentoo I had created a small script that was called by udev and allowed me to mount an USB device, identified by its serial number, to any mount point I chose. Basically, ...
0
votes
1answer
63 views

systemd user and system

I'm trying to understand a little better systemd by writing some services. I have difficulties in understanding the differences between those 2 services for instance, well I'd like to be sure I ...
2
votes
1answer
168 views

How to write a systemd service that depends on a device being present?

I would like to write a systemd service that depends on USB WiFi dongle being present. It doesn't need to start when device is plugged in as long as it doesn't start when device is not plugged in. How ...
0
votes
1answer
23 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
0
votes
2answers
89 views

systemd cant mount partition

I use a ssh tunnel at work to browse the internet. Yesterday I realize that my terminal is very slow responding to commands, I inspect htop, iotop, netop and see nothing in particular, only the ...
0
votes
2answers
103 views

Why does systemd process stop as soon as it starts for foreman server process?

I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly. However, when I start the target/service, I get status messages along the ...
0
votes
1answer
55 views

What is DNS setting in *.network systemd-netword for when without /etc/resolve.conf does not work?

This is content of the /etc/systemd/network/dhcp.network file for systemd-networkd in Arch Linux. [Match] Name=en* [Network] DHCP=v4 DNS=8.8.8.8 I expected that this would be everything necessary ...
0
votes
0answers
96 views

Execute Virtual Box Shared Folder Mount on Startup on Cent OS 7

I try to execute a mount command on startup in Cent OS 7. With FSTabs it did not work, so I tried the following: Creating the folder vbox-shared-folder-mount.service with the following content: ...
0
votes
0answers
33 views

Preferred/Idiomatic method to enable a systemd.service from a Debian package installation

I have a custom Debian package I've built for our software that creates a systemd service. What is the preferred/idiomatic way to have the installation of said package enable/start the service at ...
1
vote
1answer
364 views

Debian not reboot or shutdown

I'm truck with a simple problem of rebooting with my installation of Debian 7. I got inspire by this issue but it's not working. I tried a lot of combinations but still nothing. I'm not sure about ...
1
vote
0answers
267 views

PM: Hibernation image not present or could not be loaded

After hibernating with systemctl hibernate, the system boots normally as if it had been shutdown. I have the resume parameter in the kernel line and the resume hook in mkinitcpio.conf These are the ...
0
votes
0answers
83 views

Can a Type=notify systemd service exit gracefully if WatchdogSec is set?

I have a service registered to systemd with WatchdogSec=10, Type=notify, Restart=no and a specific OnFailure action. My problem: whenever I trigger a graceful exit (by some internal logic dependant on ...
0
votes
0answers
39 views

Start user systemd service once logged in and network up

I have a Gentoo system running KDE as a desktop. This is installed on SSD and using systemd and so it generally happens that the system boots and I login quicker than DHCP can do its thing and get an ...
0
votes
0answers
75 views

Adding Xvfb to systemd services

I have attempted to create a new Xvfb service on a headless data server, but it shuts down the display after some time. I can confirm that the service is enabled. I am not doing anything related to ...
0
votes
1answer
33 views

how to show feedback when using systemctl

When restarting services using init scripts, you can get a visual feedback (success or fail). When I use "systemctl restart ..." I don't get to see any feedback. Is there a way to show whether a ...
4
votes
1answer
120 views

systemd: ignore accidental power button pressses

On my laptop (Acer C720P) the power button is a regular keyboard key that I accidentally press all the time. This shuts down my computer instantly. Following somebody's advice, I disabled the power ...
1
vote
0answers
229 views

Running a script that starts other applications using systemd service

Our C++ Qt application runs graphically without X by specifying the -qws switch. Because of that, I uninstalled and disabled the graphical environment on the BeagleBone Black. Now, when I power on the ...
0
votes
1answer
65 views

Init 3 command with systemd

I am using Oracle Linux 7 for test purposes. I understand that the entire RHEL family (RHEL, CentOS, and OL) is using systemd now. As far as I know with systemd instead of init 3 I should use ...
1
vote
1answer
2k views

CentOS 7 hangs after update on Workstation 10 after “[sda] Assume drive cache: write through” line

I recently updated my CentOS 7 VM and it won't pass the following line: [sda] Assume drive cache: write through I tried changing the run level to 3 and run xfs_repair but it still doesn't boot. ...
0
votes
0answers
83 views

Why is logind.conf not working?

A few months ago I asked the following question about being able to suspend my computer without needing to unlock it. How to suspend from lockscreen in Gnome 3? The only way I could get my ...
0
votes
1answer
71 views

Fedora 20 Systemd slideshow on startup

How do I use systemd to automatically run a slideshow automatically at startup? I am using Gnome on Fedora 20. eog works well, but I cannot get it to successfully run at startup.
0
votes
0answers
116 views

Fancontrol service starts but exits

I start the fancontrol service but it doesn't do its job (control fans). # service fancontrol start [ ok ] Starting fancontrol (via systemctl): fancontrol.service. # service fancontrol status ...
0
votes
1answer
2k views

Fedora 20 start script on startup

I am trying to start a slideshow automatically on startup in Fedora 20. I started with a simple script. eog is "eye on gnome" which is a slideshow viewer and my pictures are in the ...
0
votes
0answers
77 views

Is it better to use the systemd service unit's Restart & RestartSec, or use a systemd timer unit?

I have a couple of in-house automated scripts running at periodic intervals. One is every five minutes, the other is every minute. They don't really need to be ran on-the-dot; e.g. I don't care if ...
0
votes
0answers
9 views

KDE Pause session restore until network

I recently re-installed Gentoo and KDE on SSD. Now it boots up faast. KDE does a session restore at boot, along with auto-starting any apps that I have setup. It turns out that I can boot to a ...
0
votes
0answers
60 views

systemd: Start some services only when at home (based on WLAN SSID)

I would like to have some network daemons like sshd or NFS only running on my laptop when I’m in my home network for security reasons. Is there a way to automate this with systemd and e.g. ...
3
votes
1answer
498 views

add multiple static ip addresses to a server with systemd-networkd

We have a server with multiple IP adresses. Lately we migrated to systemd and we still need mutliple IPs on that server. With systemd-networkd we have some trouble finding a configuration example. so ...
0
votes
0answers
310 views

systemd to lock screen on suspend as X session owner?

I have recently moved to using systemd to manage power control. In order to get my screen to be locked when returning from suspend, I created /etc/systemd/system/i3lock.service with these contents ...
0
votes
0answers
50 views

CGroup Processes Not Terminated even when main process has been killed through Systemctl stop command

I am running systemctl stop process command for some process. Please find the output for systemctl status process below: Loaded: loaded Active: deactivating (stop-sigterm) CGroup: ...
2
votes
1answer
658 views

Systemd-networkd: How can I prepend a static nameserver entry to DHCP-discovered nameservers?

I'm using systemd 213 on Arch Linux, and systemd-networkd/resolved with DHCP to connect to the internet. I'm also running a caching DNS server on 127.0.0.1. I'd like to make this server the first DNS ...
4
votes
2answers
2k views

Why does systemd hang during reboot?

1 of 10 times, systemd hangs during reboot. I don't understand the reason. What/where should I look at to fix the problem? I am using systemd v196 and cannot upgrade it to version >=198 because the ...
0
votes
1answer
301 views

Using systemd to start gpg-agent?

I've read up a little on systemd, but still can't quite figure out how to use it to automatically start gpg-agent on login. I gather I'd use systemctl --user, but constructing the gpg-agent.service ...
2
votes
1answer
295 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=Redshift After=graphical.target ...
0
votes
0answers
54 views

Decrease browser load time by increasing priority of unbound DNS in systemd

I believe to decrease the launch time of browsers after boot/starting the X servers increasing the priority unbound processes would help. I believe editing the unbound.service file would do this but ...
1
vote
1answer
190 views

systemd: starting service that depends on sockets does not work

I'm using systemd to start a WiFi and power monitor service script that scans for an SSID, brings up the network and an SSH tunnel and does a few other tasks. Much to my surpise it doesn't always ...
1
vote
1answer
273 views

systemd: change default runlevel

I found two ways to change the default runlevel in systemd: https://wiki.archlinux.org/index.php/systemd#Change_default_target_to_boot_into # systemctl enable multi-user.target ...