You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
667 B
23 lines
667 B
[Unit]
|
|
Description=MyJekyllBlog Web Service
|
|
After=postgresql.target
|
|
|
|
[Service]
|
|
User=manager
|
|
Group=manager
|
|
|
|
Environment="PERL5LIB=/home/manager/perl5/lib/perl5"
|
|
Environment="PERL_MB_OPT=--install_base \"/home/manager/perl5\""
|
|
Environment="PERL_MM_OPT=INSTALL_BASE=/home/manager/perl5"
|
|
Environment="PERL_LOCAL_LIB_ROOT=/home/manager/perl5"
|
|
Environment="PATH=/home/manager/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
|
|
|
|
ExecStart=/home/manager/perl5/bin/morbo -l http://127.0.0.1:8080 ./script/mjb
|
|
WorkingDirectory=/home/manager/mjb/Web
|
|
SyslogIdentifier=mjb-web
|
|
Restart=on-failure
|
|
Type=simple
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|