Jose M Calhariz <[email protected]> (Mo 10 Jul 2017 19:51:31 
CEST):
…
> I happily ship a systemd unit for amanda if someone writes one for the
> Debian package.

Here are the unit files, I created just now. 
The User= setting needs to be adapted probably.

,---------------------------------[the socket unit]-----------
| # amanda.socket
| [Unit]
| Description=Amanda Server socket
| Wants=network.target
| 
| [Socket]
| Accept=true
| # need an IPv4 address, as current (3.3.9) amandad can't deal with ipv6 here 
| ListenStream=0.0.0.0:10080
| 
| [Install]
| WantedBy=sockets.target
`----------------------------------------------------------------

,--------------------------[the service template unit]-----------
| # [email protected]
| [Unit]
| Description=Amanda Server service
| 
| [Service]
| User=backup             <------------- change it to your needs
| StandardInput=socket
| StandardError=journal
| ExecStart=/usr/lib/amanda/amandad -auth=bsdtcp amdump amindexd amidxtaped
`------------------------------------------------------------------


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

Attachment: signature.asc
Description: PGP signature

Reply via email to