Bug 56961 - proftpd не создаёт proftpd.pid
Summary: proftpd не создаёт proftpd.pid
Status: CLOSED DUPLICATE of bug 56982
Alias: None
Product: Branch p11
Classification: Unclassified
Component: proftpd (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p11@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-22 16:03 MSK by Арсений
Modified: 2025-11-24 11:47 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Арсений 2025-11-22 16:03:35 MSK
В systemd у нас:
[Service]
Type=forking
PIDFile=/run/proftpd/proftpd.pid
ExecStart=/usr/sbin/proftpd
ExecReload=/bin/kill -HUP $MAINPID

Но /usr/sbin/proftpd не создаёт proftpd.pid и корректно работает.
При этом systemd его убивает по таймауту,
так как ждёт /run/proftpd/proftpd.pid
Comment 1 Арсений 2025-11-22 16:28:02 MSK
Предлагаю сделать ракой подход,
По моему мнению он лучше чем тот что предлагает апстрим.
proftpd.service:
[Unit]
Description=ProFTPD FTP Server
After=network.target

[Service]
Type=simple
ExecStart=/usr/sbin/proftpd -n

[Install]
WantedBy = multi-user.target
Comment 2 Alexander Makeenkov 2025-11-24 11:47:15 MSK

*** This bug has been marked as a duplicate of bug 56982 ***