mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
16 lines
476 B
Desktop File
16 lines
476 B
Desktop File
[Unit]
|
|
# https://docs.docker.com/articles/host_integration/
|
|
# https://coreos.com/docs/launching-containers/launching/getting-started-with-systemd/
|
|
Description=Greptweet
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
TimeoutStartSec=0
|
|
ExecStartPre=-/usr/bin/docker kill greptweet1
|
|
ExecStartPre=-/usr/bin/docker rm greptweet1
|
|
ExecStart=/usr/bin/docker run --name greptweet1 -v /srv/www/greptweet.com:/srv/http/u -p 80:80 greptweet
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|