Create My Deamon Systemd with autostart/autorestart
|
29th Nov, 2019, 08:40 PM
Post: #1
|
|||
|
|||
Create My Deamon Systemd with autostart/autorestart
Hello to all!
And I have: 1. RPi3B + 2. Xbian 18.1 3 AceStream Media pakage (installed and successfully working if you run the startup script manually) /home/xbian/acestream.engine/acestream.start ------------- Necessary: Run on startup Xbian (preferably restart on crash) What did you do: 1. Made an acestream.service file with the following contents [Unit] Description=AceStream After=network-online.target [Service] Type=simple User=root Group=root ExecStart=/home/xbian/acestream.engine/acestream.start ExecStop=/home/xbian/acestream.engine/acestream.stop TimeoutSec=2 # Restart = always [Install] WantedBy=multi-user.target ------------- 2. copied it to /lib/systemd/system 3. Executed commands: systemctl enable acestream - a symbolic link was successfully created in /etc/systemd/system/multi-user.target.wants/acestream.service but cannot start acestream as a service command: systemctl start acestream Output: Failed to start acestream.service: Unknown unit: acestream.service See system logs and 'systemctl status acestream.service' for details. On command: systemctl -l status acestream It produces: Failed to get properties: No such interface '' -------- At the moment, as a temporary option, added the line to /etc/rc.local /home/xbian/acestream.engine/acestream.start& but PVR IPTV Ssimple Client is loaded before the acestream engine and the channel list is not loaded P.S: Sorry for my English, this is not my native language. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Create My Deamon Systemd with autostart/autorestart - dvv06 - 29th Nov, 2019 08:40 PM
RE: Create My Deamon Systemd with autostart/autorestart - Nachteule - 29th Nov, 2019, 09:42 PM
RE: Create My Deamon Systemd with autostart/autorestart - dvv06 - 30th Nov, 2019, 12:41 AM
RE: Create My Deamon Systemd with autostart/autorestart - Nachteule - 30th Nov, 2019, 02:02 AM
RE: Create My Deamon Systemd with autostart/autorestart - dvv06 - 30th Nov, 2019, 02:45 AM
RE: Create My Deamon Systemd with autostart/autorestart - Skywatch - 30th Nov, 2019, 04:58 AM
Create My Deamon Systemd with autostart/autorestart - gkusiak - 5th Dec, 2019, 08:25 AM
RE: Create My Deamon Systemd with autostart/autorestart - Nachteule - 5th Dec, 2019, 08:30 AM
RE: Create My Deamon Systemd with autostart/autorestart - kalyl - 20th Jun, 2022, 05:40 PM
|