分叉服务启动后如何在systemd中执行脚本

嗨我试图打开我的系统启动后的服务器。 到目前为止,我能够打开服务器,但我不能让systemd执行ExecStartPost脚本(已经debugging该脚本)。 这是有问题的文件的服务:

[Unit] Description=Jupyter Notebook server Wants=s3fs.service After=s3fs.service [Service] ExecStart=/usr/local/bin/jupyter notebook --allow-root --no-browser \ --notebook-dir=/home/s3/ \ --config=/home/s3/.jupyter/jupyter_notebook_config.py ExecStartPost=/home/ubuntu/get_ip.sh Type=forking [Install] WantedBy=multi.user.target 

我假设问题是,我的脚本types是分叉,但(纠正我,如果我错了)我需要保持服务作为分叉,以保持我的服务器工作后,此服务完成执行。

仅供参考我正在使用Ubuntu 16.04