Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198455
| From | Bill <bill3@uniserve.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | SystemD problem with launching a server |
| Date | 2018-08-09 01:40 +0200 |
| Message-ID | <wkGdA-4jp-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, So I'd like to run rinetd at boot time on Stretch along with sshd. I've no problem running rinetd manually using /usr/sbin/rinetd or in a script using the same command. ps aux |grep rinetd shows it's running and it works as expected. So I've written a service file for systemd, /etc/systemd/system/rinetd.service and enabled it with systemctl enable /etc/systemd/system/rinetd.service. At boot time the file gets run but nothing shows up with ps aux, although sshd is running correctly. I think the problem is with the systemd file. Here's the rinetd.service file: # /etc/systemd/system/rinetd.service # A systemd.service file to start # /usr/sbin/rinetd at boot time. [Unit] Description=Start rinetd server After=multi-user.target network.target sshd.service [Service] Type=oneshot ExecStart=/usr/sbin/rinetd Restart=no [Install] WantedBy=multi-user.target Any clues? Is this file too sparse? Or am I pining for the fjords? Bill -- Sent using Icedove on Debian GNU/Linux.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
SystemD problem with launching a server Bill <bill3@uniserve.com> - 2018-08-09 01:40 +0200
Re: SystemD problem with launching a server likcoras <likcoras@riseup.net> - 2018-08-09 06:10 +0200
Re: SystemD problem with launching a server john doe <johndoe65534@mail.com> - 2018-08-09 09:00 +0200
Re: SystemD problem with launching a server Didar Hossain <didar.hossain@gmail.com> - 2018-08-13 14:20 +0200
csiph-web