You are not logged in.

#1 2012-10-14 08:03:12

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

[SOLVED] Migrating to systemd: One big doubt

I have been looking around and did not find anything that answers this straight up... so, forgive me if I didn't dig enough.
I have everything ready to switch to systemd but I have a couple of daemons that do not have it's equivalent in systemd.
Should I wait until the maintainers update their packages or there is another way I'm missing here?

The daemons are crashplan and supersonic.... If i'ts of any help.

Thanks!

Last edited by Xi0N (2012-10-22 07:10:27)

Offline

#2 2012-10-14 08:07:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Migrating to systemd: One big doubt

Create the required service files yourself, submit them upstream.

Offline

#3 2012-10-14 08:19:52

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [SOLVED] Migrating to systemd: One big doubt

But they are aur packages.... Should I create the scripts and forward them to the maintainer?

Offline

#4 2012-10-14 08:25:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Migrating to systemd: One big doubt

Ideally, upstream, so that they will incude them for all users, not just those who use the AUR. If they're slow to include them, however, you could ask the aur maintainer(s) to do it until upstream gets their act together.

Offline

#5 2012-10-21 19:52:20

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [SOLVED] Migrating to systemd: One big doubt

Any kind fella that understands the new systemd way of scripting cares to try to do a startup unit for subsonic / supersonic-git? Both packages from AUR.... I will try myself, but I don't trust my skills that much... hmm

Offline

#6 2012-10-21 19:54:29

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Migrating to systemd: One big doubt

Offline

#7 2012-10-21 21:12:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Migrating to systemd: One big doubt

And you have numerous examples to inspire you in /usr/lib/systemd/system.

Offline

#8 2012-10-22 07:10:12

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: [SOLVED] Migrating to systemd: One big doubt

Ok, this one seems to work:

[Unit]
Description=Supersonic Multimedia Server
After=network.target

[Service]

Type=forking
#PIDFile=/opt/crashplan/CrashPlanEngine.pid
#EnvironmentFile=/opt/crashplan/bin/run.conf

WorkingDirectory=/var/supersonic

ExecStart=/var/supersonic/supersonic.sh start
ExecStop=/var/supersonic/supersonic.sh stop

[Install]
WantedBy=multi-user.target

Just in case anyone needs it or wants to improve it.... thanks guys!! Now my system is 100% working with systemd+brand new vertex4 ssd FAST AS HELL for being a 5 year old computer.....

Offline

Board footer

Powered by FluxBB