can't resist
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
416 B

[Unit]
Description=Tomie
[Service]
Type=simple
User=tomie
Group=tomie
Restart=on-failure
EnvironmentFile=/opt/tomie/.env
WorkingDirectory=/opt/tomie/_build/prod/rel/tomie/bin
ExecStartPre=/opt/tomie/_build/prod/rel/tomie/bin/tomie eval "Tomie.Release.migrate"
ExecStart=/opt/tomie/_build/prod/rel/tomie/bin/tomie start
ExecStop=/opt/tomie/_build/prod/rel/tomie/bin/tomie stop
[Install]
WantedBy=multi-user.target