A Linux service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks.

learn more… | top users | synonyms

3
votes
0answers
49 views

What is wrong with my systemd unit file?

Here is my unit file: [Unit] Description=Backend Service After=mariadb.service Requires=mariadb.service [Service] Type=simple ExecStart=/var/www/html/pythonscripts/Backend.py [Install] Alias=BEd ...
3
votes
0answers
38 views

Symlink as WorkingDirectory in systemd service

I have a service with WorkingDirectory=/srv/ctr/current which is a symlink. It seems the service doesn't pick up changes in the symlink when restarted. The error log reports /srv/ctr/releases/69 as ...
3
votes
0answers
76 views

Memory consumption over variable period of time

There are a number of questions on this StackExchange about memory consumption, notably: How to check which process is using most memory How to display top results sorted by memory usage in real ...
3
votes
0answers
592 views

start-stop-daemon, services, environment variables, and ansible

So, I have a Java program that runs Ansible. I'd like to run this program as a service. I've written a service script in /etc/init.d that uses start-stop-daemon to run/stop the Java program. I've run ...
3
votes
0answers
116 views

What is the difference between “systemctl restart” and “systemctl start”?

I have two services A and B where B is dependent on A which means in the A's service unit i have After and Requires set to B After=B.service Requires=B.service Now when i stop the service B the ...
3
votes
0answers
878 views

Plymouth splash not working and causing VT problems

Since I tried installing Plymouth (boot splash), I'm facing two problems : It's not working My Virtual Terminals (tt1 - 6) aren't working anymore Here what I did : Added plymouth hook (after ...
2
votes
0answers
96 views

Unable to start ZNC as a service

Firstly, this is the exact same question as found here, but the given solutions did not work in my situation. Background I am running a CentOS 6 VPS and I want to run a ZNC bouncer on it. I ...
2
votes
0answers
109 views

How to configure Systemd User Service with a Timer

I have a systemd user service that works as expected. It is started like this: systemctl start test@user The problem is that I need to run this service on a timer possibly for multiple users. There ...
2
votes
0answers
305 views

Wireless LED indicator issue

The question itself: is there any way to make this indicator be turned ON and OFF depending on wireless status (not just blink when there is wireless activity)? After having installed Linux, I saw ...
2
votes
0answers
149 views

Limit system reboot burst

Systemd allows to automatically restart services if they have crashed. To prevent indefinite services restart it uses @StartLimitInterval@ and @StartLimitBurst@ variables. Moreover, I can reboot ...
2
votes
0answers
471 views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL ...
2
votes
0answers
105 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
639 views

PPPoE connection problem

I have just installed Backtrack 5 R2 and I'm finding it difficult to make a DSL internet connection. What troubles me is that I think I have all the steps figured out, and after completing them, the ...
1
vote
0answers
45 views

Automatically enable systemd services installed using deb?

I'm building a bunch of services to install on my own (automatically created) servers. I'm migrating from upstart on Ubuntu 14.04, where services are enabled by default (we have to do extra work if we ...
1
vote
0answers
21 views

How to start a service upon an lxc container start?

I would like to start OpenVPN automatically upon the launch of its lcx container. The container runs Ubuntu 14.04.4 LTS, service openvpn start is successful (when launched from the running container) ...
1
vote
0answers
29 views

Adding delay between stop and start of a process in systemd

I have a really strange issue with systemd. When I issue a systemctl restart it will start the new process before the previous one finishes. This can be seen in the log, where the final shutdown ...
1
vote
0answers
50 views

Service 'org.kde.kaccessibleapp' does not exist

I got this error in ~/.xsession-errors, openConnection: connect: No such file or directory cannot connect to brltty at :0 Service 'org.kde.kaccessibleapp' does not exist. There is no kaccessible ...
1
vote
0answers
44 views

Making systemctl to shutdown process gracefully

I made a small systemctl service to manqge HLTV server (it records demos from a game and stores them on disk): [Unit] Description=HLTV server Requires=cs16.service After=cs16.service [Service] ...
1
vote
0answers
41 views

Trouble setting up systemd service on Centos 7 system

An application from a vendor was installed with a non-root user. This is supported by the vendor and all is good. So the non-root user owns all the installed application executables and files. One of ...
1
vote
0answers
30 views

How to advertise a service on a port

I want to run a service(a server typically) on a host and it should advertise to other machines in the network. Let's say I'm running a ReST service which provides the temperature based on location ...
1
vote
0answers
32 views

Is it possible to create aliases that affect services starting?

Currently I have a custom service that executes java in multiple places. I want to be able to add an option to any executions of java this service will spawn (I'm specifying the error log location, ...
1
vote
0answers
113 views

Start TCP-based service on demand, and stop it after connection is closed

A server needs to provide several huge (consuming lots of RAM) tcp-based services. What I want to achieve is, that they are started on-demand (lazy), and stopped after either the connection is closed ...
1
vote
0answers
177 views

Running etherpad as a service on raspberry pi

I am setting up etherpad-lite on my raspberry pi ubuntu 14.04 server. I got stuck trying to make etherpad-lite run as a service, following these instructions (I've also checked several others but that ...
1
vote
0answers
97 views

Service script and shared libraries

I have the following simple script IPN in CentOS 6.5 in /etc/init.d/ #!/bin/sh # chkconfig: 2345 05 06 cd /root/IPNHost . /etc/rc.d/init.d/functions start() { echo -n $"Starting..." ...
1
vote
0answers
184 views

(Super)user issues in handling services

Headless Ubuntu server 14.04. I have installed dropbox (as outlined here http://ubuntuserverguide.com/2012/06/how-to-install-and-configure-dropbox-on-ubuntu-server-12-04.html) and have added the ...
1
vote
0answers
240 views

Cgroups unrecognised service

I'm running the following command, after having modified my version of /etc/cgconfig.conf but get the following error (I'm running Ubuntu 14.04). Does anyone have any idea why this is the case? $ ...
1
vote
0answers
73 views

Setting up touch driver to run through service

We are trying to integrate a touch panel to our Debian system. Touch driver (General touch) I am trying to run this application in Linux service.Below are the steps which i followed Driver ...
1
vote
0answers
176 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
1
vote
0answers
1k views

Running uuidd automatically on startup on Ubuntu 13.10 server?

I am running the 13.10 Ubuntu server edition on which I have installed SAP's Netweaver Gateway 2.0 trial. This requires the UUID daemon to be running. Whenever I start up the system and run uuidd as ...
1
vote
0answers
1k views

Bittorrent Sync Autostart as a Service

I'm running a raspberry pi with the latest raspbian (debian) on it. I've installed btsync. Now I want to run Bittorrent Sync, when the system boots, not only when somebody logs in. Do I have to run ...
1
vote
0answers
1k views

service command: Failed to issue method call

I downloaded the source of tinyproxy and then use ./configure make make install to install it Then I want to start it, but get errors, like the following: [root@kitty tinyproxy-1.8.3]# service ...
1
vote
0answers
108 views

Running Tomcat MySQL and Apache under a group

I am trying to set up a web server at home using Ubuntu, but prefer my bash scripts to be platform agnostic hence why I am asking here. I also dislike apt-get everything. I am trying to create a ...
0
votes
0answers
27 views

update-rc.d service running on shutdown

I've setup a startup script in Yocto Poky by putting boot_script.sh in /etc/init.d and running update-rc.d boot_script.sh defaults 99 from that folder. This results in K99boot_script.sh in folders ...
0
votes
0answers
19 views

systemctl script not able to read and write

I have a script running at start up using systemctl. Shown below. The script that runs just reads and writes data from a txt file. [Unit] Description= Start sample script After=local-fs.target ...
0
votes
0answers
38 views

systemctl not works for own daemon

I have a problem with starting own daemon program using systemctl in Debian (deamon has wirted in golang if this have any meaning) I created file in /etc/systemd/system/tcp-server.service . His ...
0
votes
0answers
11 views

Can I start a service with optirun?

I have a laptop with two GPUs (Intel and NVidia) so I have to use Bumblebee (via optirun) to use my NVidia GPU with some applications. I would like a service, which can be found in /etc/init.d, to ...
0
votes
0answers
164 views

Universal Media Server not working

I'm trying to get Universal Media Server to work on a headless Debian 8 home server to stream video to my PS4 and other devices. I followed this tutorial ...
0
votes
0answers
35 views

Restart service after boot then enable networking ordering

Problem: Server application when first started upon boot has memory leak. When service is restarted, it will then run without issue. Temporary solution is to: AFTER the OS has completed booting, ...
0
votes
0answers
922 views

Unable to start vncserver in RHEL 7

Following the instructions from Redhat documentation (TigerVNC), I've installed VNCserver in RHEL 7. When I try to start the vncserver service, it returns an error #systemctl start ...
0
votes
0answers
116 views

Can´t run COUCHDB service

I am trying to run couchdb service, but after type # service couchdb start I get answer: Failed to start couchdb.service: Unit couchdb.service failed to load. No such file or directory. I've ...
0
votes
0answers
27 views

I have error in postgresql service

Today I would like to test my metasploit. So, first I run service postgresql start, so here problems: root@localhost:/# service postgresql start [....] Starting PostgreSQL 9.1 database server: main ...
0
votes
0answers
100 views

How to start xend service automatically on boot?

I am trying to auto-start xend and xendomain service automatically on boot as soon as I log into XEN-dom0 (on Ubuntu server 12.04 x64) so that when I type : sudo xm list the hypervisor lists me all ...
0
votes
0answers
28 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...
0
votes
0answers
68 views

Service failing to start during server boot

Facing some issue with jboss startup script for our QA box. The jboss service does not startup during reboot although the startup script is there. $chkconfig jboss --list jboss 0:off 1:off 2:on ...
0
votes
0answers
121 views

How to make sdptool add SP persistent or configure it automatically as bluetoothd starts?

I found that simply adding sdptool add SP to an initialization script does not make the serial port persistent. If I restart the bluetoothd service, the change will be lost... How can I add an SP ...
0
votes
0answers
157 views

How to debug failing service in Arch Linux

I have a application which i can run without any problems as a normal application. The application is using I2C and WiFi. I can detect the data flow through wireshark so i can confirm that it is ...
0
votes
0answers
2k views

nginx won't to start

I have run nginx -t and it returns successful. On boot I see messages about nginx has failed to start, and it wont start when I try nginx or service nginx start Instead i get a message to check ...
0
votes
0answers
13 views

Will I be able to install a service as a sudoer?

I will need to install a custom application as a service on a RHEL 6.2 box this weekend. Will I be able to do this with sudoer powers or will I need the root password for anything?
0
votes
0answers
103 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
0answers
51 views

Why wouldn't distributions use a cross-platform service manager?

I use Supervisor for my services on production servers. I also recently switched to MacOS and, for services that I need for development, instead of a OSX's service manager, proposed by brew ...