can't resist
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字。
 
 
 
 
 
 

17 行
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