forked from pool/atftp
Dirk Mueller
afc6e74777
fix logrotate and service, update sysconfig OBS-URL: https://build.opensuse.org/request/show/797646 OBS-URL: https://build.opensuse.org/package/show/network/atftp?expand=0&rev=42
10 lines
353 B
Desktop File
10 lines
353 B
Desktop File
[Unit]
|
|
Description=Advanced TFTP Server
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/sysconfig/atftpd
|
|
# atftpd does not create logfile when there is none
|
|
ExecStartPre=-/usr/bin/su -c "/usr/bin/touch $ATFTPD_LOGFILE" -s /bin/bash $ATFTPD_USER
|
|
ExecStart=/usr/sbin/atftpd --user $ATFTPD_USER --group $ATFTPD_GROUP $ATFTPD_OPTIONS $ATFTPD_DIRECTORY
|
|
StandardInput=socket
|