17 lines
301 B
Plaintext
17 lines
301 B
Plaintext
|
[Unit]
|
||
|
Description=Ghost blog for {{ item.name }}
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User={{ item.account }}
|
||
|
WorkingDirectory={{ item.home }}/www/
|
||
|
Environment="NODE_ENV=production"
|
||
|
ExecStart=/usr/bin/node index.js
|
||
|
TimeoutSec=15
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|