add sample service file

This commit is contained in:
2026-04-04 23:21:25 -06:00
parent 1f5f35d4c4
commit 3c87b973e1
+27
View File
@@ -0,0 +1,27 @@
#
# Amsterdam Web Communities System
# Copyright (c) 2025-2026 Erbosoft Metaverse Design Solutions, All Rights Reserved
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
# SPDX-License-Identifier: MPL-2.0
#
# Sample service file that starts Amsterdam from systemd
[Unit]
Description=Amsterdam Web Communities System
After=syslog.target
After=network.target
After=mysqld.service
[Service]
RestartSec=2s
Type=exec
User=amsterdam
Group=amsterdam
ExecStart=/usr/local/sbin/amsterdam
Restart=always
[Install]
WantedBy=multi-user.target