|  | 
| 
systemctl enable : Failed to execute operation: Invalid argument | |||
|---|---|---|---|
| #18+ Добрый день всем! Файл моего сервиса kestrel-test.service вот такой: [Unit] Description=Example .NET Web API Application running on Ubuntu [Service] WorkingDirectory=/home/.../projects/csharp/testws/bin/Debug/netcoreapp2.0/publish ExecStart=/usr/bin/dotnet /home/.../projects/csharp/testws/bin/Debug/netcoreapp2.0/publish/testws.dll Restart=always RestartSec=10 SyslogIdentifier=dotnet-example User=www-data Environment=ASPNETCORE_ENVIRONMENT=Production Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false [Install] WantedBy=multi-user.targ . Он лежит в папке /etc/systemd/system. Пытаюсь поставить его в автостарт вот так: sudo systemctl enable kestrel-test . Выдаётся ошибка: Failed to execute operation: Invalid argument . Которая ни о чём не говорит. Никто не знает в чём дело? Заранее спасибо. ... | |||
| : 
 Нравится:
     Не нравится:
     | |||
| 09.01.2018, 12:51 |  | ||
| 
systemctl enable : Failed to execute operation: Invalid argument | |||
|---|---|---|---|
| #18+ ДжекНикто не знает в чём дело?логи должны знать ... | |||
| : 
 Нравится:
     Не нравится:
     | |||
| 09.01.2018, 15:01 |  | ||
| 
systemctl enable : Failed to execute operation: Invalid argument | |||
|---|---|---|---|
| #18+ Вот где ошибка была: [Install] WantedBy=multi-user. targ . А надо так: [Install] WantedBy=multi-user. target . ... | |||
| : 
 Нравится:
     Не нравится:
     | |||
| 09.01.2018, 15:07 |  | ||
|  | 

| start [/forum/topic.php?fid=25&tid=1481423]: | 0ms | 
| get settings: | 8ms | 
| get forum list: | 12ms | 
| check forum access: | 3ms | 
| check topic access: | 3ms | 
| track hit: | 36ms | 
| get topic data: | 12ms | 
| get forum data: | 3ms | 
| get page messages: | 44ms | 
| get tp. blocked users: | 2ms | 
| others: | 11ms | 
| total: | 134ms | 

| 0 / 0 | 
