1
vote
1answer
19 views

Forward systemd journal messages/Collect systemd journal messages

How can I collect systemd journal events (pull) or forward systemd journal events (push)? I want to have something like forwarded event log ...
-1
votes
3answers
881 views

Running systemd inside a docker container (arch linux)

I am trying to see if I can run systemd inside a docker container (which is running arch linux in the container). I start docker with all capabilities, and bind mount in cgroups: docker run -it ...
1
vote
1answer
947 views

systemd httpd stop very slow under Arch Linux

When I perform a: systemctl stop httpd Apache often takes minutes to stop. The command: apachectl gracefully-stop always stops immediately. Anyone have any idea what might be causing this? The ...
1
vote
1answer
352 views

Cannot start the Net-SNMP daemon from systemd (but it works from the command-line)

When I start Net-SNMP from systemd, there is no error message but the daemon does not run: % sudo systemctl start snmpd % When I start it from the command line, it runs: % sudo /usr/sbin/snmpd ...
3
votes
3answers
2k views

Running systemd based container in LXC

I'm currently trying to run an Arch Linux container using LXC on an Ubuntu 12.04 host. Arch Linux has recently migrated to systemd, which according to a variety of places has some problems operating ...
2
votes
1answer
774 views

Make systemd user service depend on system target

I have a user service in ~/.config/systemd/user/example.service like so: [Unit] Description=Example service After=network.target [Service] ExecStart=/bin/bash -c 'host google.com > ...
13
votes
5answers
9k views

How to set environment variable in systemd service?

I have an Arch Linux system with systemd and I've created my own service. The configuration service at /etc/systemd/system/myservice.service looks like this: [Unit] Description=My Daemon [Service] ...
2
votes
1answer
2k views

placing shell script under systemd control

Assuming I have a shell script like this:- #!/bin/sh # cherrypy_server.sh PROCESSES=10 THREADS=1 # threads per process BASE_PORT=3035 # the first port used # you need to make the PIDFILE dir and ...