Linux
-
[Linux] systemd로 .NET 앱 서비스 등록, 자동 재시작까지Linux 2026. 11. 10. 01:02
Linux 서버에서 .NET 앱을 상시 서비스로 등록하는 systemd 단위 파일 구성입니다.절차게시단위 파일 작성서비스 등록로그 확인 1. 게시dotnet publish -c Release -o /var/www/myapp2. 단위 파일 작성# /etc/systemd/system/myapp.service[Unit]Description=MyApp ASP.NET Core ServiceAfter=network.target[Service]WorkingDirectory=/var/www/myappExecStart=/usr/bin/dotnet /var/www/myapp/MyApp.dllRestart=alwaysRestartSec=10KillSignal=SIGINTUser=www-dataEnvironment=ASPNE..
-
[Linux] 'Redmine 메일 알림' 설정 (환경 : Linux, Docker)Linux 2022. 2. 16. 10:47
1. docker 안에 설치된 redmine 내부로 이동 : docker exec -it {docker redmine name} bash root@localhost$docker exec -it redmine bash 2. 'config/configuration.yml' 실행 root@12345:/usr/src/redmine$vi config/configuration.yml # 수정 (Key : E) # 입력 (Key : I) 3. smtp 설정값 입력 production: email_delivery: delivery_method: :smtp smtp_settings: enable_starttls_auto: true address: "smtp.gmail.com" # 회사 smtp 주소를 입력합니다. por..