Browse Source

add service file

marek 1 tháng trước cách đây
mục cha
commit
fee2e1c1d4
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      services/meteostanica-cloud.service

+ 13 - 0
services/meteostanica-cloud.service

@@ -0,0 +1,13 @@
+[Unit]
+Description=meteostanica cloud
+After=network.target postfix.service dovecot.service
+Wants=network-online.target
+
+[Service]
+Restart=always
+Type=simple
+ExecStart=/home/meteostanica/.bun/bin/bun .
+WorkingDirectory=/home/meteostanica/cloud
+
+[Install]
+WantedBy=multi-user.target