Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oleg@t510 0 ~ % cat /usr/lib/systemd/system/epmd
- cat: /usr/lib/systemd/system/epmd: No such file or directory
- oleg@t510 0 ~ % sudo cat /usr/lib/systemd/system/epmd@.service
- [Unit]
- Description=Erlang Port Mapper Daemon
- Wants=network.target
- [Service]
- ExecStart=/usr/bin/epmd
- ExecStop=/usr/bin/epmd -kill
- [Install]
- WantedBy=multi-user.target
- oleg@t510 0 ~ % sudo systemctl enable epmd@oleg
- ln -s '/usr/lib/systemd/system/epmd@.service' '/etc/systemd/system/multi-user.target.wants/epmd@oleg.service'
- oleg@t510 0 ~ % sudo systemctl start epmd@oleg
- oleg@t510 0 ~ % sudo systemctl status epmd@oleg
- epmd@oleg.service - Erlang Port Mapper Daemon
- Loaded: loaded (/usr/lib/systemd/system/epmd@.service; enabled)
- Active: active (running) since Пт 2013-04-26 23:21:35 IRKT; 1s ago
- Process: 4257 ExecStop=/usr/bin/epmd -kill (code=exited, status=0/SUCCESS)
- Main PID: 4270 (epmd)
- CGroup: name=systemd:/system/epmd@.service/oleg
- └─4270 /usr/bin/epmd
- апр 26 23:21:35 t510 systemd[1]: Starting Erlang Port Mapper Daemon...
- апр 26 23:21:35 t510 systemd[1]: Started Erlang Port Mapper Daemon.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement