[systemd-devel] converting a xinetd-service to systemd

Stefan G. Weichinger lists at xunil.at
Wed Sep 14 13:31:59 PDT 2011


What I have now:

# cat amanda.socket
[Socket]
ListenStream=10080
Accept=true

[Install]
WantedBy=sockets.target

# cat amanda\@.service
[Unit]
Description=amandad

[Service]
ExecStart=-/usr/libexec/amanda/amandad -auth=bsdtcp amdump
User=amanda
Group=amanda

[Install]
WantedBy=multi-user.target

This leads to a failing service after I run "amcheck -c ..." on the
backup server (this contacts the client to check availability etc).

I am unsure about "User" and "Group" within the service-file, couldn't
find that within the manpage.

Stefan


More information about the systemd-devel mailing list