Differences
This shows you the differences between two versions of the page.
| — |
topics:interactive-service-systemd [2017/12/22 04:59] (current) orzfly created |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Interactive Services with Systemd ====== | ||
| + | <code ini / | ||
| + | [Unit] | ||
| + | Description=Minecraft Server | ||
| + | |||
| + | [Service] | ||
| + | User=minecraft | ||
| + | Group=minecraft | ||
| + | SyslogIdentifier=minecraft.service | ||
| + | ExecStart=/ | ||
| + | ExecStop=/ | ||
| + | Type=forking | ||
| + | WorkingDirectory=/ | ||
| + | Restart=always | ||
| + | RestartSec=30s | ||
| + | KillSignal=SIGINT | ||
| + | TimeoutStartSec=10 | ||
| + | TimeoutStopSec=10 | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | </ | ||
| + | |||
| + | To connect to the interactive service, '' | ||
| + | |||
| + | ===== See Alsos ===== | ||
| + | - http:// | ||
| + | |||
| + | {{tag> | ||